зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1856109 - Fix build bustages on dom/html/HTMLDialogElement.cpp CLOSED TREE
This commit is contained in:
Родитель
4ac6245eb9
Коммит
2fb40c1d8a
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче