| 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..caddb8570eb076641952446b0888dd99415f796b 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=ExecutionContext] Promise lockOrientation(OrientationLockType orientation);
|
|
|
| void unlockOrientation();
|
| };
|
|
|