diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/web/WebInputEvent.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/web/WebInputEvent.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/web/WebInputEvent.cpp b/chromium/third_party/WebKit/Source/web/WebInputEvent.cpp index e400b26feb7..aea3b1e9cdc 100644 --- a/chromium/third_party/WebKit/Source/web/WebInputEvent.cpp +++ b/chromium/third_party/WebKit/Source/web/WebInputEvent.cpp @@ -29,7 +29,8 @@ */ #include "config.h" -#include "WebInputEvent.h" +#include "public/web/WebInputEvent.h" + #include "platform/KeyboardCodes.h" #include "wtf/Assertions.h" #include "wtf/StringExtras.h" @@ -52,7 +53,7 @@ struct SameSizeAsWebMouseEvent : public SameSizeAsWebInputEvent { }; struct SameSizeAsWebMouseWheelEvent : public SameSizeAsWebMouseEvent { - int mousewheelData[10]; + int mousewheelData[12]; }; struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent { @@ -61,7 +62,7 @@ struct SameSizeAsWebGestureEvent : public SameSizeAsWebInputEvent { struct SameSizeAsWebTouchEvent : public SameSizeAsWebInputEvent { WebTouchPoint touchPoints[3 * WebTouchEvent::touchesLengthCap]; - int touchData[3]; + int touchData[4]; }; COMPILE_ASSERT(sizeof(WebInputEvent) == sizeof(SameSizeAsWebInputEvent), WebInputEvent_has_gaps); |