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

Unified Diff: device/generic_sensor/platform_sensor_provider_linux.h

Issue 2569763004: [sensors](Linux) Fix tsan data race in sensor reader (Closed)
Patch Set: don't use BindToCurrentLoop, but rather pass a task runner and callbacks Created 4 years 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: device/generic_sensor/platform_sensor_provider_linux.h
diff --git a/device/generic_sensor/platform_sensor_provider_linux.h b/device/generic_sensor/platform_sensor_provider_linux.h
index 7e15590c40487f14d154e636796475678eefb46f..61b8a0bfbb418c77c939786b0712e1632686fcee 100644
--- a/device/generic_sensor/platform_sensor_provider_linux.h
+++ b/device/generic_sensor/platform_sensor_provider_linux.h
@@ -57,7 +57,7 @@ class DEVICE_GENERIC_SENSOR_EXPORT PlatformSensorProviderLinux
mojom::SensorType type,
mojo::ScopedSharedBufferMapping mapping,
const PlatformSensorProviderBase::CreateSensorCallback& callback,
- SensorInfoLinux* sensor_device);
+ const SensorInfoLinux* sensor_device);
bool StartPollingThread();

Powered by Google App Engine
This is Rietveld 408576698