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 80b81007bc6fda1e9b1389b5ebe4411c35248973..372c789230ceb5cf42da034e5babfa4ac602037f 100644 |
--- a/chrome/browser/ui/webui/invalidations_message_handler.cc |
+++ b/chrome/browser/ui/webui/invalidations_message_handler.cc |
@@ -76,7 +76,7 @@ void InvalidationsMessageHandler::OnRegistrationChange( |
for (std::multiset<std::string>::const_iterator it = |
registered_handlers.begin(); |
it != registered_handlers.end(); ++it) { |
- list_of_handlers.Append(new base::StringValue(*it)); |
+ list_of_handlers.AppendString(*it); |
} |
web_ui()->CallJavascriptFunction("chrome.invalidations.updateHandlers", |
list_of_handlers); |