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

Unified Diff: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp

Issue 2624263003: Add more WebVR layout tests and fix small issues they found (Closed)
Patch Set: Added a few clarifying comments Created 3 years, 11 months 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: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
index a0169b014c0888227d127aa1df652a4a1fab927c..28416746ac211180a015f98f4323efeedb9783b8 100644
--- a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
+++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
@@ -110,7 +110,7 @@ void NavigatorVR::enqueueVREvent(VRDisplayEvent* event) {
}
void NavigatorVR::dispatchVRGestureEvent(VRDisplayEvent* event) {
- if (host()->frame())
+ if (!(host()->frame()))
haraken 2017/01/11 23:47:01 Sorry... I think this is a bug my CL injected.
return;
UserGestureIndicator gestureIndicator(
DocumentUserGestureToken::create(document()));

Powered by Google App Engine
This is Rietveld 408576698