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

Unified Diff: content/common/gamepad_hardware_buffer.h

Issue 2332903002: [sensors] [mac] Implement ambient light sensor for macOS (Closed)
Patch Set: [sensors] [mac] Implement ambient light sensor for macOS Created 4 years, 3 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 4d3182525a3332b68a2e847e4bce2591da195308..0b3b76ed37ecb01efeed3df92c6a27d50c29b35a 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 "device/generic_sensor/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;
+ device::OneWriterSeqLock sequence;
blink::WebGamepads buffer;
};

Powered by Google App Engine
This is Rietveld 408576698