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