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

Unified Diff: third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h

Issue 2472403002: [Sensors] Align sensor reading attribute implementation with the specification (Closed)
Patch Set: Comments from Tim Created 4 years, 1 month 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: third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
index 825e78d115b8ea0b6070dfc413577a9b439b2fca..9a7f3ad6019476a59efb08f6f7f127ef11c9320f 100644
--- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
+++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
@@ -27,7 +27,7 @@ class AmbientLightSensor final : public Sensor {
private:
AmbientLightSensor(ScriptState*, const SensorOptions&, ExceptionState&);
// Sensor overrides.
- SensorReading* createSensorReading(SensorProxy*) override;
+ std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override;
SensorConfigurationPtr createSensorConfig(
const SensorOptions&,
const SensorConfiguration& defaultConfig) override;

Powered by Google App Engine
This is Rietveld 408576698