summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-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 e3f2f62..fae0081 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -1551,7 +1551,7 @@ NewTabUI::NewTabUI(TabContents* contents)
}
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled(GetProfile())) {
+ if (Personalization::IsSyncEnabled(GetProfile())) {
AddMessageHandler(Personalization::CreateNewTabPageHandler(this));
}
#endif