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

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

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: feedback 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/system/status_area_widget.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 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)
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698