Index: ash/system/tray/system_tray.cc |
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
index cbb9128dd65832f7b50554e8c64f1acb2a35f4b9..dc4b13fed2e2e88006a70c33cf533d922756e6f9 100644 |
--- a/ash/system/tray/system_tray.cc |
+++ b/ash/system/tray/system_tray.cc |
@@ -81,6 +81,8 @@ SystemTray::SystemTray() |
} |
SystemTray::~SystemTray() { |
+ if (popup_) |
+ popup_->CloseNow(); |
for (std::vector<SystemTrayItem*>::iterator it = items_.begin(); |
it != items_.end(); |
++it) { |