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

Unified Diff: third_party/WebKit/Source/modules/sensor/Gyroscope.idl

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/Gyroscope.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Gyroscope.idl b/third_party/WebKit/Source/modules/sensor/Gyroscope.idl
index b0f0b14c3e7ea0eba36eb00b24eda075f9e3b5d5..49557a36355fdbd06597537e719186ad16ffd6a3 100644
--- a/third_party/WebKit/Source/modules/sensor/Gyroscope.idl
+++ b/third_party/WebKit/Source/modules/sensor/Gyroscope.idl
@@ -8,7 +8,7 @@
[
RuntimeEnabled=Sensor,
Constructor(optional SensorOptions sensorOptions),
- ConstructorCallWith=ScriptState,
+ ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
] interface Gyroscope : Sensor {
readonly attribute GyroscopeReading? reading;
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Gyroscope.cpp ('k') | third_party/WebKit/Source/modules/sensor/Magnetometer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698