Index: chrome/browser/ui/webui/ntp/new_tab_ui.cc |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
index 2dab46a1a7f5abf92834a351b2f56d72c95eb118..126c0a7b65ff735dde173d360cdecc769acae936 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc |
@@ -228,15 +228,16 @@ void NewTabUI::OnShowBookmarkBarChanged() { |
} |
// static |
-void NewTabUI::RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry) { |
+void NewTabUI::RegisterProfilePrefs( |
+ user_prefs::PrefRegistrySyncable* registry) { |
#if !defined(OS_ANDROID) |
- AppLauncherHandler::RegisterUserPrefs(registry); |
- NewTabPageHandler::RegisterUserPrefs(registry); |
+ AppLauncherHandler::RegisterProfilePrefs(registry); |
+ NewTabPageHandler::RegisterProfilePrefs(registry); |
if (NewTabUI::IsDiscoveryInNTPEnabled()) |
- SuggestionsHandler::RegisterUserPrefs(registry); |
+ SuggestionsHandler::RegisterProfilePrefs(registry); |
#endif |
- MostVisitedHandler::RegisterUserPrefs(registry); |
- browser_sync::ForeignSessionHandler::RegisterUserPrefs(registry); |
+ MostVisitedHandler::RegisterProfilePrefs(registry); |
+ browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry); |
} |
// static |