Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index ab2b807298bf7ffbff46d8103dc8639f3b0c8906..ac993ccad1f46202626aab130e62eaa4f8b3b740 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -1852,11 +1852,6 @@ void ChromeBrowserMainParts::StartBrowserOrUITask() { |
// Still initializing, so need to allow IO. |
base::ThreadRestrictions::ScopedAllowIO allow_io; |
- // Set the notification UI manager after any desktop initialization in |
- // PreMainMessageLoopRun() is complete, and before starting the browser. |
- DesktopNotificationServiceFactory::GetForProfile(profile_)->SetUIManager( |
- g_browser_process->notification_ui_manager()); |
- |
// Tests should be able to tune login manager before showing it. |
// Thus only show login manager in normal (non-testing) mode. |
if (!parameters().ui_task) |