| Index: third_party/WebKit/Source/modules/vr/VRDisplay.idl
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.idl b/third_party/WebKit/Source/modules/vr/VRDisplay.idl
|
| index 2a00e74454067a232042a7d6d445792280fad8bf..0d08dda34b7c429d1fc5cd99e65b66c401a7aaff 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.idl
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.idl
|
| @@ -23,9 +23,9 @@ enum VREye {
|
| readonly attribute boolean isPresenting;
|
|
|
| // [Constant]?
|
| - readonly attribute VRDisplayCapabilities capabilities;
|
| + [SaveSameObject]readonly attribute VRDisplayCapabilities capabilities;
|
|
|
| - readonly attribute VRStageParameters stageParameters;
|
| + readonly attribute VRStageParameters? stageParameters;
|
|
|
| boolean getFrameData(VRFrameData frameData);
|
| [DeprecateAs=VRDeprecatedGetPose] VRPose getPose();
|
| @@ -41,13 +41,13 @@ enum VREye {
|
|
|
| // Begin presenting to the VRDisplay. Must be called in response to a user gesture.
|
| // Repeat calls while already presenting will update the VRLayer being displayed.
|
| - [CallWith=ScriptState] Promise requestPresent(sequence<VRLayer> layers);
|
| + [CallWith=ScriptState] Promise requestPresent(sequence<VRLayerInit> layers);
|
|
|
| // Stops presenting to the VRDisplay.
|
| [CallWith=ScriptState] Promise exitPresent();
|
|
|
| // Get the sources currently being presented.
|
| - sequence<VRLayer> getLayers();
|
| + sequence<VRLayerInit> getLayers();
|
|
|
| // The VRLayer provided to the `VRDisplay` will be captured and presented
|
| // in the HMD. Calling this function has the same effect on the source
|
|
|