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

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

Issue 2826453003: Makes functions in container_finder take aura::Window (Closed)
Patch Set: cleanup Created 3 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
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/system/tray/tray_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698