| Index: device/vr/vr_service_impl_unittest.cc
|
| diff --git a/device/vr/vr_service_impl_unittest.cc b/device/vr/vr_service_impl_unittest.cc
|
| index 835a57dbb007f0a91764ff1452063f0045d028a4..95f445a1b3370caee321ab545796c2bcb163af73 100644
|
| --- a/device/vr/vr_service_impl_unittest.cc
|
| +++ b/device/vr/vr_service_impl_unittest.cc
|
| @@ -158,14 +158,16 @@ TEST_F(VRServiceImplTest, DevicePresentationIsolation) {
|
|
|
| // Begin presenting to the fake device with service 1
|
| EXPECT_TRUE(
|
| - device_manager_->RequestPresent(service_1->service(), device->id()));
|
| + device_manager_->RequestPresent(service_1->service(), device->id(),
|
| + true));
|
|
|
| EXPECT_TRUE(presenting());
|
|
|
| // Service 2 should not be able to present to the device while service 1
|
| // is still presenting.
|
| EXPECT_FALSE(
|
| - device_manager_->RequestPresent(service_2->service(), device->id()));
|
| + device_manager_->RequestPresent(service_2->service(), device->id(),
|
| + true));
|
|
|
| // Only the presenting service should be able to access the device
|
| EXPECT_EQ(device.get(), VRDeviceManager::GetAllowedDevice(
|
|
|