Index: third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp |
diff --git a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp |
index 12af2edac73bf79b4e8300c54898c14106988bef..b074347c9384963d69ef23544cb0ce02364ea626 100644 |
--- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp |
@@ -40,15 +40,6 @@ AmbientLightSensor::createSensorReadingFactory() { |
new SensorReadingFactoryImpl<AmbientLightSensorReading>()); |
} |
-auto AmbientLightSensor::createSensorConfig( |
- const SensorOptions& options, |
- const SensorConfiguration& defaultConfig) -> SensorConfigurationPtr { |
- auto result = device::mojom::blink::SensorConfiguration::New(); |
- result->frequency = |
- options.hasFrequency() ? options.frequency() : defaultConfig.frequency; |
- return result; |
-} |
- |
DEFINE_TRACE(AmbientLightSensor) { |
Sensor::trace(visitor); |
} |