From a5cf31373f744d7142ae3a5e82b9abba9fa4aca7 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Tue, 3 Jul 2018 18:06:29 +0300 Subject: [PATCH] Bug 1472425 - PointerEventHandler should use IsInComposedDoc, r=mrbkap --- dom/events/PointerEventHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/events/PointerEventHandler.cpp b/dom/events/PointerEventHandler.cpp index a49096ece818..9c52a805ac2d 100644 --- a/dom/events/PointerEventHandler.cpp +++ b/dom/events/PointerEventHandler.cpp @@ -632,7 +632,7 @@ PointerEventHandler::DispatchGotOrLostPointerCaptureEvent( return; } - if (!aIsGotCapture && !aCaptureTarget->IsInUncomposedDoc()) { + if (!aIsGotCapture && !aCaptureTarget->IsInComposedDoc()) { // If the capturing element was removed from the DOM tree, fire // ePointerLostCapture at the document. PointerEventInit init;