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

Unified Diff: device/generic_sensor/platform_sensor_provider_mac.cc

Issue 2859553003: Update PlatformSensorAmbientLightMac constructor (Closed)
Patch Set: update PlatformSensorAmbientLightMac constructor Created 3 years, 8 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 | « device/generic_sensor/platform_sensor_ambient_light_mac.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/generic_sensor/platform_sensor_provider_mac.cc
diff --git a/device/generic_sensor/platform_sensor_provider_mac.cc b/device/generic_sensor/platform_sensor_provider_mac.cc
index 777cda0bab768c4cfce0dd8b056f1ea2a107366a..77b458933663ac6940601dc56f901d142390e6ea 100644
--- a/device/generic_sensor/platform_sensor_provider_mac.cc
+++ b/device/generic_sensor/platform_sensor_provider_mac.cc
@@ -28,7 +28,7 @@ void PlatformSensorProviderMac::CreateSensorInternal(
switch (type) {
case mojom::SensorType::AMBIENT_LIGHT: {
scoped_refptr<PlatformSensor> sensor =
- new PlatformSensorAmbientLightMac(type, std::move(mapping), this);
+ new PlatformSensorAmbientLightMac(std::move(mapping), this);
callback.Run(std::move(sensor));
break;
}
« no previous file with comments | « device/generic_sensor/platform_sensor_ambient_light_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698