Index: third_party/WebKit/Source/modules/sensor/Magnetometer.h |
diff --git a/third_party/WebKit/Source/modules/sensor/Magnetometer.h b/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
index 74e293e648b9064bce6dc13ef833c282c66222c5..6d926acb0bf1338656e8b732e2b568e1946950e0 100644 |
--- a/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
+++ b/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
@@ -15,17 +15,17 @@ class Magnetometer final : public Sensor { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static Magnetometer* create(ScriptState*, |
+ static Magnetometer* create(ExecutionContext*, |
const SensorOptions&, |
ExceptionState&); |
- static Magnetometer* create(ScriptState*, ExceptionState&); |
+ static Magnetometer* create(ExecutionContext*, ExceptionState&); |
MagnetometerReading* reading() const; |
DECLARE_VIRTUAL_TRACE(); |
private: |
- Magnetometer(ScriptState*, const SensorOptions&, ExceptionState&); |
+ Magnetometer(ExecutionContext*, const SensorOptions&, ExceptionState&); |
// Sensor overrides. |
std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override; |
}; |