Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1582)

Unified Diff: chrome/browser/extensions/extension_keybinding_registry.cc

Issue 22885002: c/b/extensions, json_schema_compiler: Do not use Value::Create*. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Trying one last time get past Base Files Missing. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_keybinding_registry.cc
diff --git a/chrome/browser/extensions/extension_keybinding_registry.cc b/chrome/browser/extensions/extension_keybinding_registry.cc
index edc6bdef9195c344f63f1e4409dad6d01292d1a6..4a87ddd7b979d973fbe65aa169c1bddb39cf659d 100644
--- a/chrome/browser/extensions/extension_keybinding_registry.cc
+++ b/chrome/browser/extensions/extension_keybinding_registry.cc
@@ -71,7 +71,7 @@ void ExtensionKeybindingRegistry::CommandExecuted(
granter->GrantIfRequested(extension);
scoped_ptr<base::ListValue> args(new base::ListValue());
- args->Append(Value::CreateStringValue(command));
+ args->Append(new base::StringValue(command));
scoped_ptr<Event> event(new Event("commands.onCommand", args.Pass()));
event->restrict_to_profile = profile_;

Powered by Google App Engine
This is Rietveld 408576698