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

Unified Diff: ash/shell.cc

Issue 12375004: Re-home the global MessageCenter to support Ash+Win environments. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge master. Created 7 years, 10 months 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 | « ash/shell.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index c6965b297469821dcdd0f96970f131346c365ef9..77b60f9c95e1472e199282c61d252a07f5f7f98e 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -858,12 +858,6 @@ void Shell::DoInitialWorkspaceAnimation() {
DoInitialAnimation();
}
-message_center::MessageCenter* Shell::message_center() {
- if (!message_center_.get())
- message_center_.reset(new message_center::MessageCenter());
- return message_center_.get();
-}
-
void Shell::InitRootWindowController(
internal::RootWindowController* controller) {
aura::RootWindow* root_window = controller->root_window();
« no previous file with comments | « ash/shell.h ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698