Index: third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
index 1480df6785b9b4e392e0ccdfd209e937ac9dddc1..4e64368da27e60c18b888d4eed8c175654dc8992 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp |
@@ -478,7 +478,7 @@ void VRDisplay::onFullscreenCheck(TimerBase*) { |
// depend on the Fullscreen API to fake VR presentation, so this will |
// become unnessecary. Until that point, though, this seems preferable to |
// adding a bunch of notification plumbing to Fullscreen. |
- if (!Fullscreen::isCurrentFullScreenElement(*m_layer.source())) { |
+ if (!Fullscreen::isFullscreenElement(*m_layer.source())) { |
m_isPresenting = false; |
m_navigatorVR->fireVRDisplayPresentChange(this); |
m_fullscreenCheckTimer.stop(); |