| Index: chrome/browser/ui/options/options_util.cc
|
| ===================================================================
|
| --- chrome/browser/ui/options/options_util.cc (revision 81278)
|
| +++ chrome/browser/ui/options/options_util.cc (working copy)
|
| @@ -12,7 +12,6 @@
|
| #include "chrome/browser/geolocation/geolocation_content_settings_map.h"
|
| #include "chrome/browser/metrics/metrics_service.h"
|
| #include "chrome/browser/notifications/desktop_notification_service.h"
|
| -#include "chrome/browser/notifications/desktop_notification_service_factory.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/pref_names.h"
|
| @@ -84,8 +83,7 @@
|
| profile->GetHostContentSettingsMap()->ResetToDefaults();
|
| profile->GetGeolocationContentSettingsMap()->ResetToDefault();
|
| profile->GetHostZoomMap()->ResetToDefaults();
|
| - DesktopNotificationServiceFactory::GetForProfile(profile)->
|
| - ResetToDefaultContentSetting();
|
| + profile->GetDesktopNotificationService()->ResetToDefaultContentSetting();
|
| for (size_t i = 0; i < arraysize(kUserPrefs); ++i)
|
| prefs->ClearPref(kUserPrefs[i]);
|
|
|
|
|