| 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 24199de0268c0fd1aec3448948a47818b50244d4..abf7e7f099e7e2a96787408ccd63daaca507b300 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -705,7 +705,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::isFullscreenElement(*m_layer.source())) {
|
| + if (!Fullscreen::isCurrentFullScreenElement(*m_layer.source())) {
|
| // TODO(mthiesse): Due to asynchronous resizing, we might get kicked out of
|
| // fullscreen when changing display parameters upon entering WebVR. So one
|
| // time only, we reenter fullscreen after having left it; otherwise we exit
|
|
|