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

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

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/ui/webui/options/core_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/core_options_handler.cc b/chrome/browser/ui/webui/options/core_options_handler.cc
index 05ba28087f2916830c3e471ff980e0f92d0ccc80..8580abd038b096488716022ed62f9d49c82f4974 100644
--- a/chrome/browser/ui/webui/options/core_options_handler.cc
+++ b/chrome/browser/ui/webui/options/core_options_handler.cc
@@ -436,7 +436,7 @@ void CoreOptionsHandler::HandleFetchPrefs(const base::ListValue* args) {
result_value.Set(pref_name.c_str(), FetchPref(pref_name));
}
- web_ui()->CallJavascriptFunction(UTF16ToASCII(callback_function),
+ web_ui()->CallJavascriptFunction(base::UTF16ToASCII(callback_function),
result_value);
}

Powered by Google App Engine
This is Rietveld 408576698