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

Unified Diff: public/platform/WebGamepads.h

Issue 200783002: Gamepad API: add support for gamepadconnected and gamepaddisconnected events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 6 years, 9 months 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
Index: public/platform/WebGamepads.h
diff --git a/public/platform/WebGamepads.h b/public/platform/WebGamepads.h
index 08b067988c7dbc632766a77a52a82ef17fb150f1..69b90f715258354700482c45311d649a67ba057f 100644
--- a/public/platform/WebGamepads.h
+++ b/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.
« Source/modules/gamepad/NavigatorGamepad.cpp ('K') | « public/platform/WebGamepadListener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698