| 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 603e3e2bbdd84456e0bba6394a2bfadaeaf11d45..20d7679023808551ac6ba618090ada51b4ebdad6 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| @@ -56,12 +56,12 @@
|
|
|
| SensorProxy* SensorProviderProxy::createSensorProxy(
|
| device::mojom::blink::SensorType type,
|
| - Document* document,
|
| + Page* page,
|
| std::unique_ptr<SensorReadingFactory> readingFactory) {
|
| DCHECK(!getSensorProxy(type));
|
|
|
| SensorProxy* sensor =
|
| - new SensorProxy(type, this, document, std::move(readingFactory));
|
| + new SensorProxy(type, this, page, std::move(readingFactory));
|
| m_sensorProxies.add(sensor);
|
|
|
| return sensor;
|
|
|