| 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 20d7679023808551ac6ba618090ada51b4ebdad6..603e3e2bbdd84456e0bba6394a2bfadaeaf11d45 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProviderProxy.cpp
|
| @@ -56,12 +56,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;
|
|
|