| Index: ui/keyboard/keyboard_ui_handler.cc
|
| diff --git a/ui/keyboard/keyboard_ui_handler.cc b/ui/keyboard/keyboard_ui_handler.cc
|
| index c2398cacd714edcb6ce8528b8373691bf304e899..c0873b809211f805fd810f4a81cf2620b551247c 100644
|
| --- a/ui/keyboard/keyboard_ui_handler.cc
|
| +++ b/ui/keyboard/keyboard_ui_handler.cc
|
| @@ -115,8 +115,8 @@ void KeyboardUIHandler::HandleSendKeyEventMessage(
|
| return;
|
| }
|
|
|
| - aura::WindowEventDispatcher* dispatcher =
|
| - web_ui()->GetWebContents()->GetView()->GetNativeView()->GetDispatcher();
|
| + aura::WindowEventDispatcher* dispatcher = web_ui()->GetWebContents()->
|
| + GetView()->GetNativeView()->GetHost()->dispatcher();
|
| if (!dispatcher) {
|
| LOG(ERROR) << "sendKeyEvent failed: no dispatcher";
|
| return;
|
|
|