Fix the native event created from WebKeyboardEvent.
Apparently some MacOS platform code (e.g processing shortcuts for menu items in NSMenu) uses this hidden field eventRef in NSEvent which is initalized on first access. Apparently they access it in a way that it doesn't get initialized. So we need to initialize it in our code. Bug: 881827 Change-Id: I6192b9cb8da3e5bc3fe20630f338cfd873efe877 Reviewed-on: https://chromium-review.googlesource.com/c/1351597Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Mustaq Ahmed <mustaq@chromium.org> Reviewed-by:
Lan Wei <lanwei@chromium.org> Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#611718}
Showing
Please register or sign in to comment