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 9fa8864301a492c4c10fb706bb8e31dec5da76ad..0a970967b8786ff13175cd639397fe000e352dab 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 |
@@ -49,7 +49,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. |