Index: ash/wm/switchable_windows.cc |
diff --git a/ash/wm/switchable_windows.cc b/ash/wm/switchable_windows.cc |
index 6e0920db74811c141fa21caec9a5656e6d9b69a8..a82e3dd672174a531c2338ef0c97205d6585c76a 100644 |
--- a/ash/wm/switchable_windows.cc |
+++ b/ash/wm/switchable_windows.cc |
@@ -6,6 +6,7 @@ |
#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/wm_window.h" |
+#include "ui/aura/window.h" |
namespace ash { |
namespace wm { |
@@ -20,7 +21,7 @@ const size_t kSwitchableWindowContainerIdsLength = |
bool IsSwitchableContainer(const WmWindow* window) { |
if (!window) |
return false; |
- const int shell_window_id = window->GetShellWindowId(); |
+ const int shell_window_id = window->aura_window()->id(); |
for (size_t i = 0; i < kSwitchableWindowContainerIdsLength; ++i) { |
if (shell_window_id == kSwitchableWindowContainerIds[i]) |
return true; |