| Index: device/vr/test/fake_vr_device.cc
|
| diff --git a/device/vr/test/fake_vr_device.cc b/device/vr/test/fake_vr_device.cc
|
| index a011c7735b1abca6ee698342cfa78a30cd291758..6d01e490199cb1a17ade3994cfb337aff76c9ec1 100644
|
| --- a/device/vr/test/fake_vr_device.cc
|
| +++ b/device/vr/test/fake_vr_device.cc
|
| @@ -39,7 +39,7 @@ mojom::VREyeParametersPtr FakeVRDevice::InitEye(float fov,
|
| eye->fieldOfView->leftDegrees = fov;
|
| eye->fieldOfView->rightDegrees = fov;
|
|
|
| - eye->offset = mojo::Array<float>::New(3);
|
| + eye->offset.resize(3);
|
| eye->offset[0] = offset;
|
| eye->offset[1] = 0.0f;
|
| eye->offset[2] = 0.0f;
|
|
|