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

Unified Diff: third_party/WebKit/Source/modules/sensor/Accelerometer.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/Accelerometer.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Accelerometer.idl b/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
index 75f01c8450a9118a8f98f90a9f3084b5061e0e86..5c984f8de4b1326aaa70317e0c7cd74bd632712e 100644
--- a/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
+++ b/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
@@ -8,7 +8,7 @@
[
RuntimeEnabled=Sensor,
Constructor(optional AccelerometerOptions sensorOptions),
- ConstructorCallWith=ScriptState,
+ ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
] interface Accelerometer : Sensor {
readonly attribute AccelerometerReading? reading;

Powered by Google App Engine
This is Rietveld 408576698