| Index: public/platform/WebGamepads.h
|
| diff --git a/public/platform/WebGamepads.h b/public/platform/WebGamepads.h
|
| index 093d493ced78176ef066fd40a736707f9236fd23..98e16ab84836ef23b7cc6f7b88331ef35ba1ed26 100644
|
| --- a/public/platform/WebGamepads.h
|
| +++ b/public/platform/WebGamepads.h
|
| @@ -52,8 +52,12 @@ public:
|
| };
|
|
|
| #if BLINK_IMPLEMENTATION
|
| +#if defined(ENABLE_NEW_GAMEPAD_API)
|
| +COMPILE_ASSERT(sizeof(WebGamepads) == 2888, WebGamepads_has_wrong_size);
|
| +#else
|
| COMPILE_ASSERT(sizeof(WebGamepads) == 2120, WebGamepads_has_wrong_size);
|
| #endif
|
| +#endif
|
|
|
| #pragma pack(pop)
|
|
|
|
|