| 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 d124044da0da34ae8f0c2c8eaf7bbddf38d6fb9a..a49572d587e04cdf76e38d066d14d707685a547f 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.cpp
|
| @@ -38,15 +38,6 @@ SensorReading* AmbientLightSensor::createSensorReading(SensorProxy* proxy) {
|
| return AmbientLightSensorReading::create(proxy);
|
| }
|
|
|
| -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);
|
| }
|
|
|