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

Unified Diff: content/common/gamepad_hardware_buffer.h

Issue 1164563003: Extract device_sensors to /device via Mojofication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/common/device_sensors/device_orientation_messages.h ('k') | content/common/one_writer_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
diff --git a/content/common/gamepad_hardware_buffer.h b/content/common/gamepad_hardware_buffer.h
index 4d3182525a3332b68a2e847e4bce2591da195308..d0317eba2d3456db26e90fcce9bfef2bfe663576 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/one_writer_seqlock.h"
+#include "components/shared_memory_seqlock/one_writer_seqlock.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
namespace content {
@@ -25,7 +25,7 @@ contention is detected by using the associated SeqLock.
struct GamepadHardwareBuffer {
// FIXME: Use the generic SharedMemorySeqLockBuffer<blink::WebGamepads>.
- OneWriterSeqLock sequence;
+ shared_memory_seqlock::OneWriterSeqLock sequence;
blink::WebGamepads buffer;
};
« no previous file with comments | « content/common/device_sensors/device_orientation_messages.h ('k') | content/common/one_writer_seqlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698