Index: components/ntp_tiles/webui/popular_sites_internals_message_handler.cc |
diff --git a/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc b/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc |
index 29e69b93eb4342da81c1ead499cb8ad5a71cb8b0..7163b59fd8897dddd0fe771f1bbb73e7843c583a 100644 |
--- a/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc |
+++ b/components/ntp_tiles/webui/popular_sites_internals_message_handler.cc |
@@ -114,12 +114,12 @@ void PopularSitesInternalsMessageHandler::SendOverrides() { |
std::string version = |
prefs->GetString(ntp_tiles::prefs::kPopularSitesOverrideVersion); |
web_ui_->CallJavascriptFunction( |
- "chrome.popular_sites_internals.receiveOverrides", base::StringValue(url), |
- base::StringValue(country), base::StringValue(version)); |
+ "chrome.popular_sites_internals.receiveOverrides", base::Value(url), |
+ base::Value(country), base::Value(version)); |
} |
void PopularSitesInternalsMessageHandler::SendDownloadResult(bool success) { |
- base::StringValue result(success ? "Success" : "Fail"); |
+ base::Value result(success ? "Success" : "Fail"); |
web_ui_->CallJavascriptFunction( |
"chrome.popular_sites_internals.receiveDownloadResult", result); |
} |
@@ -142,7 +142,7 @@ void PopularSitesInternalsMessageHandler::SendSites() { |
void PopularSitesInternalsMessageHandler::SendJson(const std::string& json) { |
web_ui_->CallJavascriptFunction("chrome.popular_sites_internals.receiveJson", |
- base::StringValue(json)); |
+ base::Value(json)); |
} |
void PopularSitesInternalsMessageHandler::OnPopularSitesAvailable( |