| Index: ui/views/corewm/input_method_event_filter.cc
|
| diff --git a/ui/views/corewm/input_method_event_filter.cc b/ui/views/corewm/input_method_event_filter.cc
|
| index cd7943cabf1fa38005ea5cb6adf82da862bb0ce6..56b19402055be619b69c9980408e9bae89e29395 100644
|
| --- a/ui/views/corewm/input_method_event_filter.cc
|
| +++ b/ui/views/corewm/input_method_event_filter.cc
|
| @@ -9,6 +9,7 @@
|
| #include "ui/base/ime/input_method.h"
|
| #include "ui/base/ime/input_method_factory.h"
|
| #include "ui/events/event.h"
|
| +#include "ui/events/event_processor.h"
|
|
|
| namespace views {
|
| namespace corewm {
|
| @@ -47,7 +48,7 @@ void InputMethodEventFilter::OnKeyEvent(ui::KeyEvent* event) {
|
| // If the focused window is changed, all requests to IME will be
|
| // discarded so it's safe to update the target_dispatcher_ here.
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| - target_dispatcher_ = target->GetRootWindow()->GetHost()->dispatcher();
|
| + target_dispatcher_ = target->GetRootWindow()->GetHost()->event_processor();
|
| DCHECK(target_dispatcher_);
|
| if (input_method_->DispatchKeyEvent(*event))
|
| event->StopPropagation();
|
|
|