| Index: ash/wm/system_modal_container_event_filter.cc
|
| diff --git a/ash/wm/system_modal_container_event_filter.cc b/ash/wm/system_modal_container_event_filter.cc
|
| index 7352ec7cdb2b173a8324d895a08548ca25a870ea..93a3be97369777e9ddff6a450cb727b520192130 100644
|
| --- a/ash/wm/system_modal_container_event_filter.cc
|
| +++ b/ash/wm/system_modal_container_event_filter.cc
|
| @@ -3,8 +3,8 @@
|
| // found in the LICENSE file.
|
|
|
| #include "ash/wm/system_modal_container_event_filter.h"
|
| +#include "ash/shell_port.h"
|
| #include "ash/wm/system_modal_container_event_filter_delegate.h"
|
| -#include "ash/wm_shell.h"
|
| #include "ui/aura/window.h"
|
| #include "ui/events/event.h"
|
|
|
| @@ -18,7 +18,7 @@ SystemModalContainerEventFilter::~SystemModalContainerEventFilter() {}
|
|
|
| void SystemModalContainerEventFilter::OnEvent(ui::Event* event) {
|
| // Only filter modal events if a modal window is open.
|
| - if (!WmShell::Get()->IsSystemModalWindowOpen())
|
| + if (!ShellPort::Get()->IsSystemModalWindowOpen())
|
| return;
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| if (!delegate_->CanWindowReceiveEvents(target))
|
|
|