Index: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h |
index 0fa02b2d0e5f0faacd6c8919d4a44b7c5d87e2cd..0e77680fec0e4f292d661a435f0b9f468004fa0d 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h |
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h |
@@ -50,7 +50,8 @@ class NewTabPageSyncHandler : public content::WebUIMessageHandler, |
}; |
// Helper to invoke the |syncMessageChanged| JS function on the new tab page. |
virtual void SendSyncMessageToPage(MessageType type, |
- std::string msg, std::string linktext); |
+ const std::string& msg, |
+ const std::string& linktext); |
// Helper to query the sync service and figure out what to send to |
// the page, and send it via SendSyncMessageToPage. |