| Index: ash/host/ash_window_tree_host_unified.cc
|
| diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
|
| index 4317365fc15e466a752030b5303cc9be6389662c..b62de2e26e13321a3a794a3fad6070d2f84e3c22 100644
|
| --- a/ash/host/ash_window_tree_host_unified.cc
|
| +++ b/ash/host/ash_window_tree_host_unified.cc
|
| @@ -10,6 +10,7 @@
|
| #include "ui/aura/window_targeter.h"
|
| #include "ui/compositor/compositor.h"
|
| #include "ui/events/event_processor.h"
|
| +#include "ui/events/null_event_targeter.h"
|
| #include "ui/gfx/geometry/insets.h"
|
|
|
| namespace ash {
|
| @@ -56,6 +57,9 @@ AshWindowTreeHostUnified::~AshWindowTreeHostUnified() {
|
| }
|
|
|
| void AshWindowTreeHostUnified::PrepareForShutdown() {
|
| + window()->SetEventTargeter(
|
| + scoped_ptr<ui::EventTargeter>(new ui::NullEventTargeter));
|
| +
|
| for (auto host : mirroring_hosts_)
|
| host->PrepareForShutdown();
|
| }
|
|
|