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