| Index: ash/wm/system_modal_container_layout_manager_unittest.cc
|
| diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
|
| index fc1c3aeb155fd3662d46c87dfcf75da35e033b77..e5a59844d083c41324227489040600ac9561dabd 100644
|
| --- a/ash/wm/system_modal_container_layout_manager_unittest.cc
|
| +++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
|
| @@ -48,12 +48,12 @@ aura::Window* GetModalContainer() {
|
| }
|
|
|
| bool AllRootWindowsHaveModalBackgroundsForContainer(int container_id) {
|
| - WmWindow::Windows containers =
|
| + aura::Window::Windows containers =
|
| wm::GetContainersFromAllRootWindows(container_id);
|
| bool has_modal_screen = !containers.empty();
|
| - for (WmWindow* container : containers) {
|
| + for (aura::Window* container : containers) {
|
| has_modal_screen &= static_cast<SystemModalContainerLayoutManager*>(
|
| - container->GetLayoutManager())
|
| + WmWindow::Get(container)->GetLayoutManager())
|
| ->has_window_dimmer();
|
| }
|
| return has_modal_screen;
|
|
|