mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 974127 - nsContentUtils::IsUserFocusIgnored can loop infinitely, r=ehsan
--HG-- extra : rebase_source : 303c25586b6ff1c326241d9aa192fc8235359083
This commit is contained in:
parent
27afebfba2
commit
5753a3d50e
@ -5842,9 +5842,7 @@ nsContentUtils::IsUserFocusIgnored(nsINode* aNode)
|
||||
return true;
|
||||
}
|
||||
nsPIDOMWindow* win = aNode->OwnerDoc()->GetWindow();
|
||||
if (win) {
|
||||
aNode = win->GetFrameElementInternal();
|
||||
}
|
||||
aNode = win ? win->GetFrameElementInternal() : nullptr;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user