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

Unified Diff: chrome/browser/ui/webui/options/options_sync_setup_handler.cc

Issue 11415226: webui/options: Do not use Value::CreateStringValue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/ui/webui/options/options_sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
index 32c4acc2e85063de61b590ed916b5fb8c7f7a20e..c0a0c136a5be2d3b73d1bba6773214b6c08962e4 100644
--- a/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/options/options_sync_setup_handler.cc
@@ -20,7 +20,7 @@ OptionsSyncSetupHandler::~OptionsSyncSetupHandler() {
void OptionsSyncSetupHandler::ShowSetupUI() {
// Show the Sync Setup page.
- scoped_ptr<Value> page(Value::CreateStringValue("syncSetup"));
Evan Stade 2012/11/30 20:15:56 don't need scoped_ptr
+ scoped_ptr<Value> page(new base::StringValue("syncSetup"));
web_ui()->CallJavascriptFunction("OptionsPage.navigateToPage", *page);
}

Powered by Google App Engine
This is Rietveld 408576698