| 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 0d1672a135df1ee38ed7aeb4e04e1bd9e6790499..cd7943cabf1fa38005ea5cb6adf82da862bb0ce6 100644
|
| --- a/ui/views/corewm/input_method_event_filter.cc
|
| +++ b/ui/views/corewm/input_method_event_filter.cc
|
| @@ -47,7 +47,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()->GetDispatcher();
|
| + target_dispatcher_ = target->GetRootWindow()->GetHost()->dispatcher();
|
| DCHECK(target_dispatcher_);
|
| if (input_method_->DispatchKeyEvent(*event))
|
| event->StopPropagation();
|
|
|