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

Unified Diff: chrome/browser/chrome_browser_main_extra_parts_aura.cc

Issue 8774029: Delete desktop/shell instance correctly when chrome is shutting down (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years 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
Index: chrome/browser/chrome_browser_main_extra_parts_aura.cc
diff --git a/chrome/browser/chrome_browser_main_extra_parts_aura.cc b/chrome/browser/chrome_browser_main_extra_parts_aura.cc
index 5eab062fcb162a1d947ae222f6ecec1976cf4d07..a69aa71e689b53e0b371bfd6f20154fde230c428 100644
--- a/chrome/browser/chrome_browser_main_extra_parts_aura.cc
+++ b/chrome/browser/chrome_browser_main_extra_parts_aura.cc
@@ -28,3 +28,8 @@ void ChromeBrowserMainExtraPartsAura::PreProfileInit() {
// Make sure the singleton ScreenOrientationListener object is created.
ScreenOrientationListener::GetInstance();
}
+
+void ChromeBrowserMainExtraPartsAura::PostMainMessageLoopRun() {
+ aura_shell::Shell::DeleteInstance();
+ aura::Desktop::DeleteInstance();
stevenjb 2011/12/02 01:30:55 Since aura::Shell::Init() calls aura::Desktop::Get
oshima 2011/12/02 01:45:43 I assume you mean aura_shell::Shell::DeleteInstanc
+}

Powered by Google App Engine
This is Rietveld 408576698