| 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 911c21cf7704f5c1a87d93859aa4da91a8f19de3..35011099d041eedee5936edd838cc0339a3d4b01 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| @@ -53,12 +53,12 @@ DEFINE_TRACE(SensorProviderProxy) {
|
|
|
| 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;
|
|
|