Index: third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
index 455a51d6bb993a0b5365443f700d5a3fb01682cf..3ec3238a61add0905408e7995fb531f3e37f7755 100644 |
--- a/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/TouchActionTest.cpp |
@@ -43,6 +43,7 @@ |
#include "core/layout/api/LayoutViewItem.h" |
#include "platform/testing/URLTestHelpers.h" |
#include "platform/testing/UnitTestHelpers.h" |
+#include "public/platform/CoalescedWebInputEvent.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebInputEvent.h" |
#include "public/platform/WebURLLoaderMockFactory.h" |
@@ -387,7 +388,7 @@ void TouchActionTest::sendTouchEvent(WebView* webView, |
webTouchEvent.touches[0].radiusY = 10; |
webTouchEvent.touches[0].force = 1.0; |
- webView->handleInputEvent(webTouchEvent); |
+ webView->handleInputEvent(CoalescedWebInputEvent(webTouchEvent)); |
runPendingTasks(); |
} |