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

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: " 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
Index: ui/aura/desktop_host_linux.cc
diff --git a/ui/aura/desktop_host_linux.cc b/ui/aura/desktop_host_linux.cc
index 84c599da6772cdb47651ebdfc55375a0d8656b27..7c1f40f6a769a9f7b82470eab70f9be3a2c1b271 100644
--- a/ui/aura/desktop_host_linux.cc
+++ b/ui/aura/desktop_host_linux.cc
@@ -595,7 +595,7 @@ void DesktopHostLinux::PostNativeEvent(const base::NativeEvent& native_event) {
}
void DesktopHostLinux::WillDestroyCurrentMessageLoop() {
- desktop_->DeleteInstance();
+ aura::Desktop::DeleteInstance();
stevenjb 2011/12/02 01:30:55 Do we still need do this here?
oshima 2011/12/02 01:45:43 yes, for tests that does not depend chrome
}
bool DesktopHostLinux::IsWindowManagerPresent() {

Powered by Google App Engine
This is Rietveld 408576698