Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: third_party/WebKit/Source/core/events/TouchEventTest.cpp

Issue 2844823002: Support Coalesced Touch in ppapi (Closed)
Patch Set: Support Coalesced Touch in ppapi Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/events/TouchEventTest.cpp
diff --git a/third_party/WebKit/Source/core/events/TouchEventTest.cpp b/third_party/WebKit/Source/core/events/TouchEventTest.cpp
index e3e6ab823e491aca0174e7413b1fa48c88f675af..9308c99a9e261e5e9ceda6543d79023ca04d1836 100644
--- a/third_party/WebKit/Source/core/events/TouchEventTest.cpp
+++ b/third_party/WebKit/Source/core/events/TouchEventTest.cpp
@@ -64,8 +64,9 @@ class TouchEventTest : public testing::Test {
TouchEvent* EventWithDispatchType(WebInputEvent::DispatchType dispatch_type) {
WebTouchEvent web_touch_event(WebInputEvent::kTouchStart, 0, 0);
web_touch_event.dispatch_type = dispatch_type;
- return TouchEvent::Create(web_touch_event, nullptr, nullptr, nullptr,
- "touchstart", &Window(), kTouchActionAuto);
+ return TouchEvent::Create(WebCoalescedInputEvent(web_touch_event), nullptr,
+ nullptr, nullptr, "touchstart", &Window(),
+ kTouchActionAuto);
}
private:

Powered by Google App Engine
This is Rietveld 408576698