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 5ba08f6fb8f3fead140b72084bfcc2af93e646d6..17bb5a08801ab7fc9dfe7436ddc1acdc3d878e9c 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.insert(sensor); |
return sensor; |