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. |