| Index: third_party/WebKit/Source/modules/vr/VRDisplay.h
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.h b/third_party/WebKit/Source/modules/vr/VRDisplay.h
|
| index 3eaa741699408cedf2b49202766a541a1dc3a1c8..a5bb0e1806beb17ef9b2eb91b58f9a5a92f79f30 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
|
| @@ -10,7 +10,7 @@
|
| #include "core/events/EventTarget.h"
|
| #include "device/vr/vr_service.mojom-blink.h"
|
| #include "modules/vr/VRDisplayCapabilities.h"
|
| -#include "modules/vr/VRLayer.h"
|
| +#include "modules/vr/VRLayerInit.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "platform/Timer.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -74,10 +74,11 @@ class VRDisplay final : public EventTargetWithInlineData,
|
| int requestAnimationFrame(FrameRequestCallback*);
|
| void cancelAnimationFrame(int id);
|
|
|
| - ScriptPromise requestPresent(ScriptState*, const HeapVector<VRLayer>& layers);
|
| + ScriptPromise requestPresent(ScriptState*,
|
| + const HeapVector<VRLayerInit>& layers);
|
| ScriptPromise exitPresent(ScriptState*);
|
|
|
| - HeapVector<VRLayer> getLayers();
|
| + HeapVector<VRLayerInit> getLayers();
|
|
|
| void submitFrame();
|
|
|
| @@ -163,7 +164,7 @@ class VRDisplay final : public EventTargetWithInlineData,
|
| // VR compositor so that it knows which poses to use, when to apply bounds
|
| // updates, etc.
|
| int16_t m_vrFrameId = -1;
|
| - VRLayer m_layer;
|
| + VRLayerInit m_layer;
|
| double m_depthNear = 0.01;
|
| double m_depthFar = 10000.0;
|
|
|
|
|