summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 00:00:54 +0000
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 00:00:54 +0000
commit15fda7175c8ba31974d87099f0cf01eb0281bd1d (patch)
treef9b8c5e9265e2f86283fed46c858d444d7101b3c /chrome/browser/dom_ui
parent5b8a3b63d97ee7b97bb71f68c766685b87f24e81 (diff)
downloadchromium_src-15fda7175c8ba31974d87099f0cf01eb0281bd1d.zip
chromium_src-15fda7175c8ba31974d87099f0cf01eb0281bd1d.tar.gz
chromium_src-15fda7175c8ba31974d87099f0cf01eb0281bd1d.tar.bz2
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
Diffstat (limited to 'chrome/browser/dom_ui')
-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();