Index: ui/aura/shared/input_method_event_filter.cc |
=================================================================== |
--- ui/aura/shared/input_method_event_filter.cc (revision 148788) |
+++ ui/aura/shared/input_method_event_filter.cc (working copy) |
@@ -82,7 +82,7 @@ |
DCHECK(event.message != WM_CHAR); |
#endif |
aura::TranslatedKeyEvent aura_event(event, false /* is_char */); |
- target_root_window_->DispatchKeyEvent(&aura_event); |
+ target_root_window_->AsRootWindowHostDelegate()->OnHostKeyEvent(&aura_event); |
} |
void InputMethodEventFilter::DispatchFabricatedKeyEventPostIME( |
@@ -91,7 +91,7 @@ |
int flags) { |
aura::TranslatedKeyEvent aura_event(type == ui::ET_KEY_PRESSED, key_code, |
flags); |
- target_root_window_->DispatchKeyEvent(&aura_event); |
+ target_root_window_->AsRootWindowHostDelegate()->OnHostKeyEvent(&aura_event); |
} |
} // namespace shared |