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..74751db0be4eb1a03028a55f9e396542c505731b 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
@@ -573,7 +573,11 @@ void VRDisplay::updateLayerBounds() { |
rightBounds->height = 1.0f; |
} |
- m_display->UpdateLayerBounds(std::move(leftBounds), std::move(rightBounds)); |
+ // TODO(klausw): Tie updating layer bounds to when we render the correct |
+ // frame. |
+ // Specify a frame index of 0 for now, meaning to update immediately. |
+ m_display->UpdateLayerBounds(0, std::move(leftBounds), |
+ std::move(rightBounds)); |
} |
HeapVector<VRLayer> VRDisplay::getLayers() { |