This commit is contained in:
Kevin Sawicki 2016-06-16 09:30:13 -07:00
parent 02abda4be8
commit 1e73d48198

View file

@ -25,8 +25,7 @@ void CommonWebContentsDelegate::HandleKeyboardEvent(
NSWindow* window = event.os_event.window;
if (window && [window isKindOfClass:[AtomNSWindow class]]) {
AtomNSWindow* native_window = static_cast<AtomNSWindow*>(window);
[native_window redispatchKeyEvent:event.os_event];
[((AtomNSWindow*)window) redispatchKeyEvent:event.os_event];
}
}