summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/public/platform/WebGamepads.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/platform/WebGamepads.h')
-rw-r--r--chromium/third_party/WebKit/public/platform/WebGamepads.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/public/platform/WebGamepads.h b/chromium/third_party/WebKit/public/platform/WebGamepads.h
index aeb565bd3e0..1fa1e817d4e 100644
--- a/chromium/third_party/WebKit/public/platform/WebGamepads.h
+++ b/chromium/third_party/WebKit/public/platform/WebGamepads.h
@@ -30,10 +30,10 @@
#include "wtf/Assertions.h"
#endif
-namespace blink {
-
#pragma pack(push, 1)
+namespace blink {
+
// This structure is intentionally POD and fixed size so that it can be stored
// in shared memory between hardware polling threads and the rest of the
// browser.
@@ -52,7 +52,7 @@ public:
};
#if BLINK_IMPLEMENTATION
-COMPILE_ASSERT(sizeof(WebGamepads) == 1864, WebGamepads_has_wrong_size);
+COMPILE_ASSERT(sizeof(WebGamepads) == 2888, WebGamepads_has_wrong_size);
#endif
#pragma pack(pop)