This commit is contained in:
Kevin Sawicki 2016-06-17 11:31:18 -07:00
parent 711c3abaeb
commit 13e554ab11

View file

@ -23,8 +23,7 @@ void CommonWebContentsDelegate::HandleKeyboardEvent(
if (event.windowsKeyCode == ui::VKEY_ESCAPE && is_html_fullscreen())
ExitFullscreenModeForTab(source);
EventDispatchingWindow* native_window = static_cast<EventDispatchingWindow*>(event.os_event.window);
[native_window redispatchKeyEvent:event.os_event];
[(EventDispatchingWindow*)event.os_event.window redispatchKeyEvent:event.os_event];
}
} // namespace atom