| 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..300bf0dbfb960c8fc738333a2253a3fca33e7504 100644
|
| --- a/device/vr/vr_service_impl_unittest.cc
|
| +++ b/device/vr/vr_service_impl_unittest.cc
|
| @@ -157,15 +157,15 @@ TEST_F(VRServiceImplTest, DevicePresentationIsolation) {
|
| service_2->service(), device->id()));
|
|
|
| // Begin presenting to the fake device with service 1
|
| - EXPECT_TRUE(
|
| - device_manager_->RequestPresent(service_1->service(), device->id()));
|
| + EXPECT_TRUE(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()));
|
| + EXPECT_FALSE(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(
|
|
|