| 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 ca0f8f8a19c44610fd71562f244fc198c00c3879..b50f66d889742642c8f6ab7050ded9be27861e14 100644
|
| --- a/device/vr/test/fake_vr_device.cc
|
| +++ b/device/vr/test/fake_vr_device.cc
|
| @@ -70,10 +70,12 @@ mojom::VRPosePtr FakeVRDevice::GetPose() {
|
| void FakeVRDevice::ResetPose() {}
|
|
|
| // TODO(shaobo.yan@intel.com): Will implemenate for VRDeviceServiceImpl tests.
|
| -bool FakeVRDevice::RequestPresent(bool secure_origin) {
|
| - return true;
|
| +void FakeVRDevice::RequestPresent(const base::Callback<void(bool)>& callback) {
|
| + callback.Run(true);
|
| }
|
|
|
| +void FakeVRDevice::SetSecureOrigin(bool secure_origin) {}
|
| +
|
| void FakeVRDevice::ExitPresent() {}
|
|
|
| void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {}
|
|
|