Correct typos in comments

This commit is contained in:
Kevin Sawicki 2016-03-16 15:03:53 -07:00
parent 90d815ce6c
commit c31882749d
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ namespace api {
namespace {
// The DeprecatedOptionsCheckCallback funtion which is implemented in JavaScript
// This function is implemented in JavaScript
using DeprecatedOptionsCheckCallback =
base::Callback<std::string(v8::Local<v8::Value>)>;
DeprecatedOptionsCheckCallback g_deprecated_options_check;

View file

@ -259,7 +259,7 @@ const checkForDeprecatedOptions = function(options) {
keysToCheck = keysToCheck.concat(Object.keys(options.webPreferences));
}
// Check options for keys with hypens in them
// Check options for keys with hyphens in them
let deprecatedKey = keysToCheck.filter(isDeprecatedKey)[0];
if (deprecatedKey) {
try {