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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2848483003: WebVR: fix initial vsync (Closed)
Patch Set: Use simple scheduling call instead of initializing vsync. Created 3 years, 8 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/VRDisplay.h
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.h b/third_party/WebKit/Source/modules/vr/VRDisplay.h
index 16dead3e91412fcc91c619032c2c18ad0ba7448c..824bb75b11ff4cfc806c16161e28b7dadfe90f31 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
@@ -179,7 +179,7 @@ class VRDisplay final : public EventTargetWithInlineData,
RefPtr<Image> previous_image_;
Member<ScriptedAnimationController> scripted_animation_controller_;
- bool pending_raf_ = false;
+ bool pending_vrdisplay_raf_ = false;
bool pending_vsync_ = false;
bool in_animation_frame_ = false;
bool in_display_activate_ = false;
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698