Index: third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
index 1038ec61f025a1192cd7ef4c52c2a2ad9bca8061..34cfd0faec65f772ff014979a6b1f3c55ce4c865 100644 |
--- a/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/RootScrollerTest.cpp |
@@ -149,8 +149,8 @@ class RootScrollerTest : public ::testing::Test { |
WebGestureDevice device, |
int deltaX, |
int deltaY) { |
- WebGestureEvent event; |
- event.type = type; |
+ WebGestureEvent event(type, WebInputEvent::NoModifiers, |
+ WebInputEvent::TimeStampForTesting); |
event.sourceDevice = device; |
event.x = 100; |
event.y = 100; |