| Index: chrome/browser/notifications/notification_ui_manager_desktop.cc
|
| diff --git a/chrome/browser/notifications/notification_ui_manager_desktop.cc b/chrome/browser/notifications/notification_ui_manager_desktop.cc
|
| index c03f4be8313246ffccc3242aa127b3143ed93f50..7de03bb53d8361c5a41735b617d5b224e4a34291 100644
|
| --- a/chrome/browser/notifications/notification_ui_manager_desktop.cc
|
| +++ b/chrome/browser/notifications/notification_ui_manager_desktop.cc
|
| @@ -11,7 +11,6 @@
|
| #include "chrome/browser/notifications/message_center_notification_manager.h"
|
| #include "chrome/browser/notifications/message_center_settings_controller.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/profiles/profile_info_cache.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
|
|
| // static
|
| @@ -20,10 +19,9 @@ NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
|
| if (!profile_manager)
|
| return nullptr;
|
|
|
| - ProfileInfoCache* profile_info_cache =
|
| - &profile_manager->GetProfileInfoCache();
|
| scoped_ptr<message_center::NotifierSettingsProvider> settings_provider(
|
| - new MessageCenterSettingsController(profile_info_cache));
|
| + new MessageCenterSettingsController(
|
| + profile_manager->GetProfileAttributesStorage()));
|
| return new MessageCenterNotificationManager(
|
| g_browser_process->message_center(),
|
| std::move(settings_provider));
|
|
|