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

Unified Diff: Source/web/WebInputEvent.cpp

Issue 560493003: Remove WebTouchEvent.changedTouches (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@input_remove_target_changed_touches
Patch Set: Fix test Created 6 years, 3 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
« no previous file with comments | « no previous file | Source/web/tests/WebInputEventConversionTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebInputEvent.cpp
diff --git a/Source/web/WebInputEvent.cpp b/Source/web/WebInputEvent.cpp
index 2e2871a4dceccbf5ef88637d31837d4e311cb02e..bd05fe867acfd78f47a577a2b2cd85908538f721 100644
--- a/Source/web/WebInputEvent.cpp
+++ b/Source/web/WebInputEvent.cpp
@@ -59,8 +59,8 @@ struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent {
};
struct SameSizeAsWebTouchEvent : public SameSizeAsWebInputEvent {
- WebTouchPoint touchPoints[2 * WebTouchEvent::touchesLengthCap];
- int touchData[3];
+ WebTouchPoint touchPoints[WebTouchEvent::touchesLengthCap];
+ int touchData[2];
};
COMPILE_ASSERT(sizeof(WebInputEvent) == sizeof(SameSizeAsWebInputEvent), WebInputEvent_has_gaps);
« no previous file with comments | « no previous file | Source/web/tests/WebInputEventConversionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698