Bug 1472425 - PointerEventHandler should use IsInComposedDoc, r=mrbkap

This commit is contained in:
Olli Pettay 2018-07-03 18:06:29 +03:00
Родитель ca2e080d26
Коммит a5cf31373f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;