mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset b9ba9a6b8a97 (bug 1004499) for bustage
This commit is contained in:
parent
036c7d680d
commit
a26d326214
@ -1862,10 +1862,7 @@ bool CanvasRenderingContext2D::DrawCustomFocusRing(mozilla::dom::Element& aEleme
|
||||
nsCOMPtr<nsIDOMElement> focusedElement;
|
||||
fm->GetFocusedElement(getter_AddRefs(focusedElement));
|
||||
if (SameCOMIdentity(aElement.AsDOMNode(), focusedElement)) {
|
||||
nsPIDOMWindow *window = aElement->OwnerDoc()->GetWindow();
|
||||
if (window) {
|
||||
return window->ShouldShowFocusRing();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user