Index: ash/system/tray/system_tray.cc |
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc |
index d3b3f10a16aaac75bb484a5fb7daac9d24f71c01..6f6892a3a9c5708e4e8bd6d62f1f229f81e02d01 100644 |
--- a/ash/system/tray/system_tray.cc |
+++ b/ash/system/tray/system_tray.cc |
@@ -180,7 +180,7 @@ class SystemTray::ActivationObserver |
WmWindow* wm_gained_active = WmWindow::Get(gained_active); |
int container_id = |
- wm::GetContainerForWindow(wm_gained_active)->GetShellWindowId(); |
+ wm::GetContainerForWindow(wm_gained_active)->aura_window()->id(); |
// Don't close the bubble if a popup notification is activated. |
if (container_id == kShellWindowId_StatusContainer) |