Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: device/vr/test/fake_vr_device.cc

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: Add comments to VRDisplay Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..502be5f3101e6c54d1b96b7860357ac0f7e9f8b0 100644
--- a/device/vr/test/fake_vr_device.cc
+++ b/device/vr/test/fake_vr_device.cc
@@ -6,7 +6,8 @@
namespace device {
-FakeVRDevice::FakeVRDevice(VRDeviceProvider* provider) : VRDevice(provider) {
+FakeVRDevice::FakeVRDevice(scoped_refptr<VRDeviceProvider> provider)
+ : VRDevice(std::move(provider)) {
device_ = mojom::VRDisplayInfo::New();
pose_ = mojom::VRPose::New();

Powered by Google App Engine
This is Rietveld 408576698