| Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| index c35e7f133671d7e0e39b8124b7fbd0ee82798014..9e20a901b11a7c5e11b9405bc3e5b1cec7b92e52 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -558,6 +558,7 @@ void VRDisplay::updateLayerBounds() {
|
| leftBounds->top = 0.0f;
|
| leftBounds->width = 0.5f;
|
| leftBounds->height = 1.0f;
|
| + m_layer.setLeftBounds({0.0f, 0.0f, 0.5f, 1.0f});
|
| }
|
|
|
| if (m_layer.rightBounds().size() == 4) {
|
| @@ -571,6 +572,7 @@ void VRDisplay::updateLayerBounds() {
|
| rightBounds->top = 0.0f;
|
| rightBounds->width = 0.5f;
|
| rightBounds->height = 1.0f;
|
| + m_layer.setRightBounds({0.5f, 0.0f, 0.5f, 1.0f});
|
| }
|
|
|
| m_display->UpdateLayerBounds(std::move(leftBounds), std::move(rightBounds));
|
|
|