Chromium Code Reviews| Index: third_party/WebKit/Source/modules/sensor/Sensor.idl |
| diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.idl b/third_party/WebKit/Source/modules/sensor/Sensor.idl |
| index c58a10d135c7b871708566d0fdb1578d2c0b23cc..2ee4fcf8375f82d51467e1906e578f64c0cd21a0 100644 |
| --- a/third_party/WebKit/Source/modules/sensor/Sensor.idl |
| +++ b/third_party/WebKit/Source/modules/sensor/Sensor.idl |
| @@ -20,8 +20,8 @@ enum SensorState { |
| readonly attribute SensorState state; |
| readonly attribute SensorReading? reading; |
| - [CallWith=ScriptState, RaisesException] void start(); |
| - [CallWith=ScriptState, RaisesException] void stop(); |
| + [CallWith=ScriptState, RaisesException, MeasureAs = GenericSensorStart] void start(); |
| + [CallWith=ScriptState, RaisesException, MeasureAs = GenericSensorStop] void stop(); |
|
Reilly Grant (use Gerrit)
2016/11/08 16:33:27
Is there a reason for putting spaces around the eq
Mikhail
2016/11/09 08:49:13
No specific reason, just did not switch from C++ w
|
| attribute EventHandler onerror; |
| attribute EventHandler onchange; |