Chromium Code Reviews| Index: Source/modules/screen_orientation/ScreenScreenOrientation.idl |
| diff --git a/Source/modules/screen_orientation/ScreenScreenOrientation.idl b/Source/modules/screen_orientation/ScreenScreenOrientation.idl |
| index 2905343b8eb2fe3ae71e86e6da27057d495929a7..cf81539a4621ea5a06d5e00b02e951773f52eaa5 100644 |
| --- a/Source/modules/screen_orientation/ScreenScreenOrientation.idl |
| +++ b/Source/modules/screen_orientation/ScreenScreenOrientation.idl |
| @@ -5,5 +5,5 @@ |
| [ |
| RuntimeEnabled=ScreenOrientation |
| ] partial interface Screen { |
| - [CallWith=ScriptState] readonly attribute ScreenOrientation orientation; |
| + [CallWith=ScriptState, MeasureAs=ScreenOrientation] readonly attribute ScreenOrientation orientation; |
|
Peter Beverloo
2014/10/02 13:29:34
Since you measure all properties within the Screen
|
| }; |