Index: chrome/browser/ui/webui/instant_ui.cc |
diff --git a/chrome/browser/ui/webui/instant_ui.cc b/chrome/browser/ui/webui/instant_ui.cc |
index f5dbf44bca12856b23d6e536e41a98d0ed9038b9..9466b86f4f91b86cfa8b354d9bfb593237b3115b 100644 |
--- a/chrome/browser/ui/webui/instant_ui.cc |
+++ b/chrome/browser/ui/webui/instant_ui.cc |
@@ -103,10 +103,10 @@ void InstantUIMessageHandler::GetPreferenceValue(const base::ListValue* args) { |
std::string pref_name; |
if (!args->GetString(0, &pref_name)) return; |
- base::StringValue pref_name_value(pref_name); |
+ base::Value pref_name_value(pref_name); |
if (pref_name == prefs::kInstantUIZeroSuggestUrlPrefix) { |
PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs(); |
- base::StringValue arg(prefs->GetString(pref_name.c_str())); |
+ base::Value arg(prefs->GetString(pref_name.c_str())); |
web_ui()->CallJavascriptFunctionUnsafe( |
"instantConfig.getPreferenceValueResult", pref_name_value, arg); |
} |