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

Unified Diff: Source/web/WebInputEvent.cpp

Issue 743883005: Store binary flags in bool instead of int in WebInputEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Include remaining bools Created 6 years, 1 month 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 | public/web/WebInputEvent.h » ('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 cb0bd45612f78938aa7542fe687aea27e121a424..2c0ed3c50a531bb80c4c71222dbb92b3d9cd8486 100644
--- a/Source/web/WebInputEvent.cpp
+++ b/Source/web/WebInputEvent.cpp
@@ -51,16 +51,16 @@ struct SameSizeAsWebMouseEvent : public SameSizeAsWebInputEvent {
};
struct SameSizeAsWebMouseWheelEvent : public SameSizeAsWebMouseEvent {
- int mousewheelData[12];
+ int mousewheelData[9];
};
struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent {
- int gestureData[11];
+ int gestureData[10];
};
struct SameSizeAsWebTouchEvent : public SameSizeAsWebInputEvent {
WebTouchPoint touchPoints[WebTouchEvent::touchesLengthCap];
- int touchData[3];
+ int touchData[2];
};
COMPILE_ASSERT(sizeof(WebInputEvent) == sizeof(SameSizeAsWebInputEvent), WebInputEvent_has_gaps);
« no previous file with comments | « no previous file | public/web/WebInputEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698