| Index: ash/mus/bridge/wm_globals_mus.cc
|
| diff --git a/ash/mus/bridge/wm_globals_mus.cc b/ash/mus/bridge/wm_globals_mus.cc
|
| index fc7249a06f1d53e3bdfc0cd826c70c7f593afab7..b0cd51c9e1d1cd658d262de06073b0c5c4e92d98 100644
|
| --- a/ash/mus/bridge/wm_globals_mus.cc
|
| +++ b/ash/mus/bridge/wm_globals_mus.cc
|
| @@ -187,8 +187,9 @@ bool WmGlobalsMus::IsActivationParent(::mus::Window* window) {
|
| if (!window)
|
| return false;
|
|
|
| - for (size_t i = 0; i < kNumActivationContainers; ++i) {
|
| - if (window->local_id() == static_cast<int>(kActivationContainers[i]))
|
| + const int shell_window_id = WmWindowMus::Get(window)->GetShellWindowId();
|
| + for (size_t i = 0; i < kNumActivatableShellWindowIds; ++i) {
|
| + if (shell_window_id == kActivatableShellWindowIds[i])
|
| return true;
|
| }
|
| return false;
|
|
|