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