mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset f65515f94aab (bug 987026) for apparently breaking ASAN mochitests, causing this CLOSED TREE
This commit is contained in:
parent
21fce3468c
commit
91bedd5149
@ -240,11 +240,9 @@ FocusManager::ProcessDOMFocus(nsINode* aTarget)
|
||||
|
||||
DocAccessible* document =
|
||||
GetAccService()->GetDocAccessible(aTarget->OwnerDoc());
|
||||
if (!document)
|
||||
return;
|
||||
|
||||
Accessible* target = document->GetAccessibleEvenIfNotInMapOrContainer(aTarget);
|
||||
if (target) {
|
||||
if (target && document) {
|
||||
// Check if still focused. Otherwise we can end up with storing the active
|
||||
// item for control that isn't focused anymore.
|
||||
nsINode* focusedNode = FocusedDOMNode();
|
||||
|
Loading…
Reference in New Issue
Block a user