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

Unified Diff: content/common/gamepad_hardware_buffer.h

Issue 8772004: Improve GamepadSeqLock impl Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « content/browser/gamepad/gamepad_provider_unittest.cc ('k') | content/common/gamepad_seqlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gamepad_hardware_buffer.h
===================================================================
--- content/common/gamepad_hardware_buffer.h (revision 143882)
+++ content/common/gamepad_hardware_buffer.h (working copy)
@@ -24,10 +24,13 @@
*/
struct GamepadHardwareBuffer {
- GamepadSeqLock sequence;
- WebKit::WebGamepads buffer;
+ GamepadSeqLock<WebKit::WebGamepads> gamepads;
+ GamepadHardwareBuffer();
};
+inline GamepadHardwareBuffer::GamepadHardwareBuffer() {
}
+}
+
#endif // CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
« no previous file with comments | « content/browser/gamepad/gamepad_provider_unittest.cc ('k') | content/common/gamepad_seqlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698