Fix bad casts to NativeWebKeyboardEvent in unittests
When a vtable was added to WebKeyboardEvent in crrev.com/547be407 the CFI bot started failing because it was in fact detecting a bad cast. The test never failed before because the cast was to super class that the pointer was actually of and CFI couldn't detect this. BUG=836826 Change-Id: I4dac686561120ec5d363ddccdd47b29629d7389a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988247Reviewed-by:Ken Buchanan <kenrb@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#728575}
Showing
Please register or sign in to comment