summaryrefslogtreecommitdiffstats
path: root/content/common/gamepad_hardware_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gamepad_hardware_buffer.h')
-rw-r--r--content/common/gamepad_hardware_buffer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/content/common/gamepad_hardware_buffer.h b/content/common/gamepad_hardware_buffer.h
index 077c782..7f4bad9 100644
--- a/content/common/gamepad_hardware_buffer.h
+++ b/content/common/gamepad_hardware_buffer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -24,10 +24,13 @@ contention is detected by using the associated SeqLock.
*/
struct GamepadHardwareBuffer {
- GamepadSeqLock sequence;
- WebKit::WebGamepads buffer;
+ GamepadSeqLock<WebKit::WebGamepads> gamepads;
+ GamepadHardwareBuffer();
};
+inline GamepadHardwareBuffer::GamepadHardwareBuffer() {
+}
+
}
#endif // CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_