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

Unified Diff: ash/system/tray/system_tray.cc

Issue 9968101: Close notification windows while message loop is still active (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't delete ash (yet) Created 8 years, 8 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
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 2f39906c66b4ad9c9b562fe21d4890ba6a3f0c06..6293839539acdfe4f04d58e276bd784cd81f8566 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -485,6 +485,7 @@ SystemTray::~SystemTray() {
}
if (popup_)
popup_->CloseNow();
+ ash::Shell::GetInstance()->tray_delegate()->OnTrayDestroyed();
}
void SystemTray::AddTrayItem(SystemTrayItem* item) {

Powered by Google App Engine
This is Rietveld 408576698