summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc2
-rw-r--r--chrome/browser/views/options/options_window_view.cc2
-rw-r--r--chrome/browser/views/toolbar_view.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index f76c711..f5865a2 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -1153,7 +1153,7 @@ NewTabUI::NewTabUI(TabContents* contents)
AddMessageHandler(new HistoryHandler(this));
AddMessageHandler(new MetricsHandler(this));
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled()) {
+ if (!Personalization::IsP13NDisabled(GetProfile())) {
AddMessageHandler(Personalization::CreateNewTabPageHandler(this));
}
#endif
diff --git a/chrome/browser/views/options/options_window_view.cc b/chrome/browser/views/options/options_window_view.cc
index 6bdd1f0..b3cbe66 100644
--- a/chrome/browser/views/options/options_window_view.cc
+++ b/chrome/browser/views/options/options_window_view.cc
@@ -203,7 +203,7 @@ void OptionsWindowView::Init() {
content_page, false);
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled()) {
+ if (!Personalization::IsP13NDisabled(profile_)) {
UserDataPageView* user_data_page = new UserDataPageView(profile_);
tabs_->AddTabAtIndex(tab_index++,
l10n_util::GetString(IDS_OPTIONS_USER_DATA_TAB_LABEL),
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index 5162b98..f1ae818 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -685,7 +685,7 @@ void BrowserToolbarView::RunAppMenu(const gfx::Point& pt, HWND hwnd) {
l10n_util::GetString(IDS_SHOW_DOWNLOADS));
menu->AppendSeparator();
#ifdef CHROME_PERSONALIZATION
- if (!Personalization::IsP13NDisabled()) {
+ if (!Personalization::IsP13NDisabled(profile_)) {
menu->AppendMenuItemWithLabel(IDC_P13N_INFO,
Personalization::GetMenuItemInfoText(browser()));
}