| 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 31fbc5f152979223fcafbeaa97bdcbe2648c76b2..0ddc978ed543a5a419e35d2593a8e1f12926e448 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRDisplay.cpp
|
| @@ -685,7 +685,7 @@ void VRDisplay::OnActivate(device::mojom::blink::VRDisplayEventReason reason,
|
| AutoReset<bool> activating(&in_display_activate_, true);
|
| navigator_vr_->DispatchVREvent(VRDisplayEvent::Create(
|
| EventTypeNames::vrdisplayactivate, true, false, this, reason));
|
| - on_handled.Run(pending_present_request_);
|
| + on_handled.Run(!pending_present_request_ && !is_presenting_);
|
| }
|
|
|
| void VRDisplay::OnDeactivate(
|
|
|