| Index: third_party/WebKit/public/platform/WebGamepad.h
|
| diff --git a/third_party/WebKit/public/platform/WebGamepad.h b/third_party/WebKit/public/platform/WebGamepad.h
|
| index e6bd9dc3b4a52dc06200e1a95203c1a8c7a60ecf..74188b4d380a11ef22461ba69cf415b9ec255ae0 100644
|
| --- a/third_party/WebKit/public/platform/WebGamepad.h
|
| +++ b/third_party/WebKit/public/platform/WebGamepad.h
|
| @@ -34,15 +34,18 @@ class WebGamepadButton {
|
| public:
|
| WebGamepadButton()
|
| : pressed(false)
|
| + , touched(false)
|
| , value(0.)
|
| {
|
| }
|
| - WebGamepadButton(bool pressed, double value)
|
| + WebGamepadButton(bool pressed, bool touched, double value)
|
| : pressed(pressed)
|
| + , touched(touched)
|
| , value(value)
|
| {
|
| }
|
| bool pressed;
|
| + bool touched;
|
| double value;
|
| };
|
|
|
| @@ -92,7 +95,7 @@ public:
|
| WebUChar mapping[mappingLengthCap];
|
| };
|
|
|
| -static_assert(sizeof(WebGamepad) == 721, "WebGamepad has wrong size");
|
| +static_assert(sizeof(WebGamepad) == 753, "WebGamepad has wrong size");
|
|
|
| #pragma pack(pop)
|
|
|
|
|