Index: ui/aura/window_tree_host.cc |
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc |
index e624728fb926b8ddee0e7a5d8da5e4cec74773c1..039ec6daecec959a69aafabba001c85f4b746c5a 100644 |
--- a/ui/aura/window_tree_host.cc |
+++ b/ui/aura/window_tree_host.cc |
@@ -260,6 +260,8 @@ |
window()->Init(ui::LAYER_NOT_DRAWN); |
window()->set_host(this); |
window()->SetName("RootWindow"); |
+ window()->SetEventTargeter( |
+ std::unique_ptr<ui::EventTargeter>(new WindowTargeter())); |
dispatcher_.reset(new WindowEventDispatcher(this)); |
} |
} |