| 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 553622a0dfa064f16522cfd8694dc7834f1abb48..5a506e755562c7ab3ef7e38bb8d59b3d7e715f2d 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -206,7 +206,7 @@ ScriptPromise VRDisplay::requestPresent(ScriptState* script_state,
|
| // If the VRDisplay is already presenting, however, repeated calls are
|
| // allowed outside a user gesture so that the presented content may be
|
| // updated.
|
| - if (first_present && !UserGestureIndicator::UtilizeUserGesture() &&
|
| + if (first_present && !UserGestureIndicator::ProcessingUserGesture() &&
|
| !in_display_activate_) {
|
| DOMException* exception = DOMException::Create(
|
| kInvalidStateError, "API can only be initiated by a user gesture.");
|
|
|