Bug 1856109 - Fix build bustages on dom/html/HTMLDialogElement.cpp CLOSED TREE

This commit is contained in:
Sandor Molnar 2023-10-31 17:02:36 +02:00
Родитель 4ac6245eb9
Коммит 2fb40c1d8a
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -96,7 +96,7 @@ void HTMLDialogElement::StorePreviouslyFocusedElement() {
// Looks like there's a discrepancy sometimes when focus is moved
// to a different in-process window.
if (nsIContent* unretargetedFocus = doc->GetUnretargetedFocusedContent()) {
mPreviouslyFocusedElement = do_GetWeakReference(element);
mPreviouslyFocusedElement = do_GetWeakReference(unretargetedFocus);
}
}
}