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

Unified Diff: device/vr/android/gvr/gvr_device.h

Issue 2504843002: Prevent WebVR from reprojecting with invalid poses (Closed)
Patch Set: Addressed Klaus' feedback 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
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index d69b1b9d850a2477d5b89746a568073b2dd89ddf..e26d7d06972e60da7d420b036f21ad60e9bca082 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -44,7 +44,7 @@ class GvrDevice : public VRDevice {
base::WeakPtr<GvrDelegate> delegate_;
GvrDeviceProvider* gvr_provider_;
bool secure_origin_ = false;
- uint32_t pose_index_ = 0;
+ uint32_t pose_index_ = 1;
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698