| Index: ash/root_window_controller.cc
|
| diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
|
| index 0154b0cd9cfaa7692013b4691a0a6895a4ec2965..a077c7a61543892758fc7698aba575e204fc9341 100644
|
| --- a/ash/root_window_controller.cc
|
| +++ b/ash/root_window_controller.cc
|
| @@ -410,7 +410,7 @@ bool RootWindowController::CanWindowReceiveEvents(aura::Window* window) {
|
| modal_layout_manager = static_cast<SystemModalContainerLayoutManager*>(
|
| modal_container->layout_manager());
|
|
|
| - if (modal_layout_manager->has_modal_background())
|
| + if (modal_layout_manager->has_window_dimmer())
|
| blocking_container = modal_container;
|
| else
|
| modal_container = nullptr; // Don't check modal dialogs.
|
| @@ -763,9 +763,9 @@ void RootWindowController::Init(RootWindowType root_window_type,
|
| InitTouchHuds();
|
|
|
| if (Shell::GetPrimaryRootWindowController()
|
| - ->GetSystemModalLayoutManager(NULL)
|
| - ->has_modal_background()) {
|
| - GetSystemModalLayoutManager(NULL)->CreateModalBackground();
|
| + ->GetSystemModalLayoutManager(nullptr)
|
| + ->has_window_dimmer()) {
|
| + GetSystemModalLayoutManager(nullptr)->CreateModalBackground();
|
| }
|
|
|
| WmShell::Get()->AddShellObserver(this);
|
|
|