Index: chrome/browser/ui/webui/invalidations_message_handler.cc |
diff --git a/chrome/browser/ui/webui/invalidations_message_handler.cc b/chrome/browser/ui/webui/invalidations_message_handler.cc |
index e6cf9d9bc8a0fb658d41753546e5eaea161c32a0..74150647fd264c1bc19b7a311090473f26a02bc9 100644 |
--- a/chrome/browser/ui/webui/invalidations_message_handler.cc |
+++ b/chrome/browser/ui/webui/invalidations_message_handler.cc |
@@ -89,7 +89,7 @@ void InvalidationsMessageHandler::OnStateChange( |
const base::Time& last_changed_timestamp) { |
std::string state(syncer::InvalidatorStateToString(new_state)); |
web_ui()->CallJavascriptFunctionUnsafe( |
- "chrome.invalidations.updateInvalidatorState", base::StringValue(state), |
+ "chrome.invalidations.updateInvalidatorState", base::Value(state), |
base::Value(last_changed_timestamp.ToJsTime())); |
} |
@@ -107,7 +107,7 @@ void InvalidationsMessageHandler::OnUpdateIds( |
list_of_objects.Append(std::move(dic)); |
} |
web_ui()->CallJavascriptFunctionUnsafe("chrome.invalidations.updateIds", |
- base::StringValue(handler_name), |
+ base::Value(handler_name), |
list_of_objects); |
} |
void InvalidationsMessageHandler::OnDebugMessage( |