| Index: third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| diff --git a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| index 24cab8b3e74c8f4c24c8747fa6fb93686d403faa..45e61e7d48d0a63fe10a75f691d8e9783a8e1316 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| @@ -5,7 +5,6 @@
|
| #include "modules/sensor/SensorProviderProxy.h"
|
|
|
| #include "modules/sensor/SensorProxy.h"
|
| -#include "modules/sensor/SensorReading.h"
|
| #include "platform/mojo/MojoHelper.h"
|
| #include "public/platform/InterfaceProvider.h"
|
| #include "public/platform/Platform.h"
|
| @@ -53,12 +52,10 @@ DEFINE_TRACE(SensorProviderProxy) {
|
|
|
| SensorProxy* SensorProviderProxy::createSensorProxy(
|
| device::mojom::blink::SensorType type,
|
| - Page* page,
|
| - std::unique_ptr<SensorReadingFactory> readingFactory) {
|
| + Page* page) {
|
| DCHECK(!getSensorProxy(type));
|
|
|
| - SensorProxy* sensor =
|
| - new SensorProxy(type, this, page, std::move(readingFactory));
|
| + SensorProxy* sensor = new SensorProxy(type, this, page);
|
| m_sensorProxies.insert(sensor);
|
|
|
| return sensor;
|
|
|