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..5559d44e68d80cfa10e564d9cecddb6865f1f968 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,8 @@ contention is detected by using the associated SeqLock. |
*/ |
struct GamepadHardwareBuffer { |
- GamepadSeqLock sequence; |
+ // FIXME: Use the generic SharedMemorySeqLockBuffer<WebKit::WebGamepads>. |
+ OneWriterSeqLock sequence; |
WebKit::WebGamepads buffer; |
}; |