Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Unified Diff: chrome/browser/notifications/desktop_notification_service_factory.cc

Issue 8488015: Revert 110327 - Add ChromeBrowserParts for non main parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/desktop_notification_service_factory.cc
===================================================================
--- chrome/browser/notifications/desktop_notification_service_factory.cc (revision 110349)
+++ chrome/browser/notifications/desktop_notification_service_factory.cc (working copy)
@@ -35,9 +35,8 @@
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;
}
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698