Index: ui/aura/window_targeter.cc |
diff --git a/ui/aura/window_targeter.cc b/ui/aura/window_targeter.cc |
index c0c194ecf8a256b1385fb5de93e48ab1147ec2b5..ad6369c3691f438369dc2e2b05ae314e01a5098d 100644 |
--- a/ui/aura/window_targeter.cc |
+++ b/ui/aura/window_targeter.cc |
@@ -10,6 +10,7 @@ |
#include "ui/aura/window.h" |
#include "ui/aura/window_delegate.h" |
#include "ui/aura/window_event_dispatcher.h" |
+#include "ui/aura/window_tree_host.h" |
#include "ui/events/event_target.h" |
namespace aura { |
@@ -56,7 +57,7 @@ ui::EventTarget* WindowTargeter::FindTargetForEvent(ui::EventTarget* root, |
// from here. Instead, dispatch the event through the |
// WindowEventDispatcher that owns |target|. |
ui::EventDispatchDetails details ALLOW_UNUSED = |
- target->GetHost()->dispatcher()->OnEventFromSource(event); |
+ target->GetHost()->event_processor()->OnEventFromSource(event); |
target = NULL; |
} |
} |