Index: third_party/WebKit/Source/modules/sensor/Sensor.cpp |
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.cpp b/third_party/WebKit/Source/modules/sensor/Sensor.cpp |
index 60551e7edd45e22c1090aaf8f1f05beec2d6fa4a..a10690a4f80e24a5102516c7c7270241be66b0dc 100644 |
--- a/third_party/WebKit/Source/modules/sensor/Sensor.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.cpp |
@@ -167,8 +167,8 @@ void Sensor::initSensorProxyIfNeeded() { |
m_sensorProxy = provider->getSensor(m_type); |
if (!m_sensorProxy) { |
- m_sensorProxy = |
- provider->createSensor(m_type, createSensorReadingFactory()); |
+ m_sensorProxy = provider->createSensor(m_type, getExecutionContext(), |
+ createSensorReadingFactory()); |
} |
} |