Index: chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
diff --git a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
index 4037188dd852324a3d734db331aa1bee6b131b83..157d1b6f8c4eaab50f3987dfaa8cc2e4b3cf2e03 100644 |
--- a/chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
+++ b/chrome/browser/ui/webui/options/clear_browser_data_handler.cc |
@@ -145,7 +145,7 @@ void ClearBrowserDataHandler::UpdateInfoBannerVisibility() { |
} |
web_ui()->CallJavascriptFunctionUnsafe( |
- "ClearBrowserDataOverlay.setBannerText", base::StringValue(text)); |
+ "ClearBrowserDataOverlay.setBannerText", base::Value(text)); |
} |
void ClearBrowserDataHandler::OnPageOpened(const base::ListValue* value) { |
@@ -386,8 +386,8 @@ void ClearBrowserDataHandler::UpdateCounterText( |
DCHECK(AreCountersEnabled()); |
web_ui()->CallJavascriptFunctionUnsafe( |
"ClearBrowserDataOverlay.updateCounter", |
- base::StringValue(result->source()->GetPrefName()), |
- base::StringValue(GetChromeCounterTextFromResult(result.get()))); |
+ base::Value(result->source()->GetPrefName()), |
+ base::Value(GetChromeCounterTextFromResult(result.get()))); |
} |
void ClearBrowserDataHandler::OnStateChanged(syncer::SyncService* sync) { |