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

Unified Diff: content/common/gamepad_hardware_buffer.h

Issue 14678012: Implement the content/renderer and content/browser part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: similarity=70 Created 7 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
Index: content/common/gamepad_hardware_buffer.h
diff --git a/content/common/gamepad_hardware_buffer.h b/content/common/gamepad_hardware_buffer.h
index 53a5b1a50ebd8dc44f4f7918bd573cf53cd9bff9..1b708dd8356fa8ef39a5a2645a5b1f20b06cc0d0 100644
--- a/content/common/gamepad_hardware_buffer.h
+++ b/content/common/gamepad_hardware_buffer.h
@@ -5,7 +5,7 @@
#ifndef CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
#define CONTENT_COMMON_GAMEPAD_HARDWARE_BUFFER_H_
-#include "content/common/gamepad_seqlock.h"
+#include "content/common/one_writer_seqlock.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
namespace content {
@@ -24,7 +24,7 @@ contention is detected by using the associated SeqLock.
*/
struct GamepadHardwareBuffer {
darin (slow to review) 2013/06/27 17:33:26 should there be a TODO about making this utilize S
timvolodine 2013/06/27 21:08:43 Done.
- GamepadSeqLock sequence;
+ OneWriterSeqLock sequence;
WebKit::WebGamepads buffer;
};

Powered by Google App Engine
This is Rietveld 408576698