summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 2fc1571..3b83c99 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -846,7 +846,7 @@ void NewTabUI::Init() {
AddMessageHandler(new HistoryHandler(this));
AddMessageHandler(new MetricsHandler(this));
#ifdef CHROME_PERSONALIZATION
- Personalization::AttachNewTabHandler(this);
+ AddMessageHandler(Personalization::CreateNewTabPageHandler(this));
#endif
NewTabHTMLSource* html_source = new NewTabHTMLSource();