| 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..ef55f8d7a6dc624ad106f6d10c9f390d1af3b656 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;
|
|
|
| + const int shell_window_id = WmWindowMus::Get(window)->GetShellWindowId();
|
| for (size_t i = 0; i < kNumActivationContainers; ++i) {
|
| - if (window->local_id() == static_cast<int>(kActivationContainers[i]))
|
| + if (shell_window_id == kActivationContainers[i])
|
| return true;
|
| }
|
| return false;
|
|
|