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

Unified Diff: ui/aura/desktop_host_linux.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: close windows before observers are destroyed. 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
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_aura.cc ('k') | ui/aura_shell/shelf_layout_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop_host_linux.cc
diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc
index edf0b2d3e61c1deba9122db76506f13c8799f8d3..6025de5a7e1bc84eb8ed114a8fabe0d5e7457be6 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -592,7 +592,7 @@ void DesktopHostLinux::PostNativeEvent(const base::NativeEvent& native_event) {
}
void DesktopHostLinux::WillDestroyCurrentMessageLoop() {
- desktop_->DeleteInstance();
+ aura::Desktop::DeleteInstance();
}
bool DesktopHostLinux::IsWindowManagerPresent() {
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_aura.cc ('k') | ui/aura_shell/shelf_layout_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698