Index: chrome/browser/notifications/desktop_notification_service_factory.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service_factory.cc b/chrome/browser/notifications/desktop_notification_service_factory.cc |
index ec8543ac807805ae1693fcaacf69f5067e8b7a69..f4402ab4eeacf2d2713774b4541b615d09e28a5e 100644 |
--- a/chrome/browser/notifications/desktop_notification_service_factory.cc |
+++ b/chrome/browser/notifications/desktop_notification_service_factory.cc |
@@ -35,9 +35,8 @@ DesktopNotificationServiceFactory::~DesktopNotificationServiceFactory() { |
ProfileKeyedService* DesktopNotificationServiceFactory::BuildServiceInstanceFor( |
Profile* profile) const { |
- DesktopNotificationService* service = new DesktopNotificationService(profile, |
- g_browser_process->notification_ui_manager()); |
- |
+ DesktopNotificationService* service = |
+ new DesktopNotificationService(profile, NULL); |
return service; |
} |