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

Unified Diff: ash/wm/overview/window_selector.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/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_selector_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector.cc
diff --git a/ash/wm/overview/window_selector.cc b/ash/wm/overview/window_selector.cc
index 12aa74d42deff5fc53cb9aa089bd988653bba5e5..cba7519ecbcfa0c5db56c064ba803e6e108c7b96 100644
--- a/ash/wm/overview/window_selector.cc
+++ b/ash/wm/overview/window_selector.cc
@@ -529,7 +529,7 @@ void WindowSelector::OnWindowHierarchyChanged(
return;
for (size_t i = 0; i < wm::kSwitchableWindowContainerIdsLength; ++i) {
- if (new_window->GetParent()->GetShellWindowId() ==
+ if (new_window->GetParent()->aura_window()->id() ==
wm::kSwitchableWindowContainerIds[i] &&
!new_window->GetTransientParent()) {
// The new window is in one of the switchable containers, abort overview.
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_selector_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698