| 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 9466b86f4f91b86cfa8b354d9bfb593237b3115b..859d307dadf2abee104fe9744dbb099d802b1770 100644
|
| --- a/chrome/browser/ui/webui/instant_ui.cc
|
| +++ b/chrome/browser/ui/webui/instant_ui.cc
|
| @@ -121,7 +121,7 @@ void InstantUIMessageHandler::SetPreferenceValue(const base::ListValue* args) {
|
| if (!args->GetString(1, &value))
|
| return;
|
| PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs();
|
| - prefs->SetString(pref_name.c_str(), value);
|
| + prefs->SetString(pref_name, value);
|
| }
|
| }
|
|
|
|
|