| Index: device/vr/android/gvr/gvr_device.cc
|
| diff --git a/device/vr/android/gvr/gvr_device.cc b/device/vr/android/gvr/gvr_device.cc
|
| index 35cb85c31235c61834e4f3c3bcca4de1be87aa4e..ccf434647188d0e99f3ec7eabfeeaffdf107c86f 100644
|
| --- a/device/vr/android/gvr/gvr_device.cc
|
| +++ b/device/vr/android/gvr/gvr_device.cc
|
| @@ -179,7 +179,8 @@ void GvrDevice::SubmitFrame(mojom::VRPosePtr pose) {
|
| delegate_->SubmitWebVRFrame();
|
| }
|
|
|
| -void GvrDevice::UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
|
| +void GvrDevice::UpdateLayerBounds(int16_t frame_index,
|
| + mojom::VRLayerBoundsPtr left_bounds,
|
| mojom::VRLayerBoundsPtr right_bounds) {
|
| if (!delegate_)
|
| return;
|
| @@ -196,7 +197,8 @@ void GvrDevice::UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
|
| right_gvr_bounds.right = right_bounds->left + right_bounds->width;
|
| right_gvr_bounds.bottom = 1.0f - (right_bounds->top + right_bounds->height);
|
|
|
| - delegate_->UpdateWebVRTextureBounds(left_gvr_bounds, right_gvr_bounds);
|
| + delegate_->UpdateWebVRTextureBounds(frame_index, left_gvr_bounds,
|
| + right_gvr_bounds);
|
| }
|
|
|
| void GvrDevice::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) {
|
|
|