Commit e9241ea5 authored by David Bokan's avatar David Bokan Committed by Commit Bot

Fix kTypeLast in WebInputEvent

https://codereview.chromium.org/2860663006/ forgot to update the
kTypeLast.

Change-Id: Ieae9b0711c841a00357dfd3190c6ed9e1c5c86a6
Reviewed-on: https://chromium-review.googlesource.com/c/1331045Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#607591}
parent 13c6ba37
...@@ -372,7 +372,7 @@ TEST_F(BrowserCommandControllerFullscreenTest, ...@@ -372,7 +372,7 @@ TEST_F(BrowserCommandControllerFullscreenTest,
// clang-format on // clang-format on
}; };
const content::NativeWebKeyboardEvent key_event( const content::NativeWebKeyboardEvent key_event(
blink::WebInputEvent::kTypeFirst, 0, blink::WebInputEvent::kUndefined, 0,
blink::WebInputEvent::GetStaticTimeStampForTests()); blink::WebInputEvent::GetStaticTimeStampForTests());
// Defaults for a tabbed browser. // Defaults for a tabbed browser.
for (size_t i = 0; i < arraysize(commands); i++) { for (size_t i = 0; i < arraysize(commands); i++) {
......
...@@ -195,7 +195,7 @@ class WebInputEvent { ...@@ -195,7 +195,7 @@ class WebInputEvent {
kPointerCausedUaAction, kPointerCausedUaAction,
kPointerTypeLast = kPointerCausedUaAction, kPointerTypeLast = kPointerCausedUaAction,
kTypeLast = kTouchTypeLast kTypeLast = kPointerTypeLast
}; };
// The modifier constants cannot change their values since pepper // The modifier constants cannot change their values since pepper
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment