Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: third_party/WebKit/Source/modules/sensor/Magnetometer.h

Issue 2537863003: Remove [ConstructorCallWith=ScriptState] from Sensor (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Gyroscope.idl ('k') | third_party/WebKit/Source/modules/sensor/Magnetometer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698