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

Unified Diff: chrome/browser/ui/webui/settings/font_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/font_handler.cc
diff --git a/chrome/browser/ui/webui/settings/font_handler.cc b/chrome/browser/ui/webui/settings/font_handler.cc
index 7eb28f04ae0dec7fddccc405eb0ac7967a4b557b..4d7c4c34ecafa5e335ef36b34c2450597b7cff15 100644
--- a/chrome/browser/ui/webui/settings/font_handler.cc
+++ b/chrome/browser/ui/webui/settings/font_handler.cc
@@ -104,7 +104,7 @@ const extensions::Extension* FontHandler::GetAdvancedFontSettingsExtension() {
void FontHandler::NotifyAdvancedFontSettingsAvailability() {
CallJavascriptFunction(
"cr.webUIListenerCallback",
- base::StringValue("advanced-font-settings-installed"),
+ base::Value("advanced-font-settings-installed"),
base::Value(GetAdvancedFontSettingsExtension() != nullptr));
}
@@ -144,7 +144,7 @@ void FontHandler::FontListHasLoaded(std::string callback_id,
"extensionUrl",
extension_url.Resolve(kAdvancedFontSettingsExtensionId).spec());
- ResolveJavascriptCallback(base::StringValue(callback_id), response);
+ ResolveJavascriptCallback(base::Value(callback_id), response);
}
} // namespace settings
« no previous file with comments | « chrome/browser/ui/webui/settings/downloads_handler.cc ('k') | chrome/browser/ui/webui/settings/languages_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698