| 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 8e9ead8e1d91be6e03ee33cf88de3d752878f4fb..8a736917569f6724e48c07b5d5fc64b8af63df3a 100644
|
| --- a/ui/views/corewm/input_method_event_filter.cc
|
| +++ b/ui/views/corewm/input_method_event_filter.cc
|
| @@ -63,7 +63,7 @@ bool InputMethodEventFilter::DispatchKeyEventPostIME(
|
| DCHECK(event.message != WM_CHAR);
|
| #endif
|
| ui::TranslatedKeyEvent aura_event(event, false /* is_char */);
|
| - return target_dispatcher_->AsRootWindowHostDelegate()->OnHostKeyEvent(
|
| + return target_dispatcher_->AsWindowTreeHostDelegate()->OnHostKeyEvent(
|
| &aura_event);
|
| }
|
|
|
| @@ -73,7 +73,7 @@ bool InputMethodEventFilter::DispatchFabricatedKeyEventPostIME(
|
| int flags) {
|
| ui::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code,
|
| flags);
|
| - return target_dispatcher_->AsRootWindowHostDelegate()->OnHostKeyEvent(
|
| + return target_dispatcher_->AsWindowTreeHostDelegate()->OnHostKeyEvent(
|
| &aura_event);
|
| }
|
|
|
|
|