From 15fda7175c8ba31974d87099f0cf01eb0281bd1d Mon Sep 17 00:00:00 2001 From: "nick@chromium.org" Date: Thu, 26 Feb 2009 00:00:54 +0000 Subject: Refactor the p13n NTP handler. Review URL: http://codereview.chromium.org/27174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10411 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/dom_ui/new_tab_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/dom_ui') 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(); -- cgit v1.1