Backed out changeset b9ba9a6b8a97 (bug 1004499) for bustage

This commit is contained in:
Carsten "Tomcat" Book 2014-05-02 08:54:18 +02:00
parent 036c7d680d
commit a26d326214

View File

@ -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;
}
}