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

Unified Diff: chrome/browser/ui/webui/settings/languages_handler.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 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/settings/languages_handler.cc
diff --git a/chrome/browser/ui/webui/settings/languages_handler.cc b/chrome/browser/ui/webui/settings/languages_handler.cc
index 52ea1a1b9ada18424055a11c10c511773a2d30f0..d3b4595cd0fcaac79349d74c27c9f9698a99b299 100644
--- a/chrome/browser/ui/webui/settings/languages_handler.cc
+++ b/chrome/browser/ui/webui/settings/languages_handler.cc
@@ -61,7 +61,7 @@ void LanguagesHandler::HandleGetProspectiveUILanguage(
g_browser_process->local_state()->GetString(prefs::kApplicationLocale);
}
- ResolveJavascriptCallback(*callback_id, base::StringValue(locale));
+ ResolveJavascriptCallback(*callback_id, base::Value(locale));
#else
NOTREACHED() << "Attempting to get locale on unsupported platform";
#endif // defined(OS_WIN) || defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/ui/webui/settings/font_handler.cc ('k') | chrome/browser/ui/webui/settings/metrics_reporting_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698