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

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

Powered by Google App Engine
This is Rietveld 408576698