| Index: Source/modules/screen_orientation/ScreenOrientation.idl
|
| diff --git a/Source/modules/screen_orientation/ScreenOrientation.idl b/Source/modules/screen_orientation/ScreenOrientation.idl
|
| index 310a07b69bcef8ff71409757c0d82d2f4f4942f9..c1bf53283591034aee1019bd447c0c807e38ab7f 100644
|
| --- a/Source/modules/screen_orientation/ScreenOrientation.idl
|
| +++ b/Source/modules/screen_orientation/ScreenOrientation.idl
|
| @@ -24,7 +24,7 @@ enum OrientationLockType {
|
| ] partial interface Screen {
|
| readonly attribute OrientationType orientation;
|
|
|
| - [RaisesException] boolean lockOrientation(OrientationLockType orientation);
|
| + [CallWith=ScriptState] Promise lockOrientation(OrientationLockType orientation);
|
|
|
| void unlockOrientation();
|
| };
|
|
|