Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me

This commit is contained in:
Emilio Cobos Álvarez
2017-12-25 12:55:45 +01:00
parent b3956b6171
commit ecd202d763
175 changed files with 1398 additions and 1709 deletions

View File

@@ -155,7 +155,7 @@ HTMLAreaAccessible::NativeName(nsString& aName)
if (!aName.IsEmpty())
return nameFlag;
if (!mContent->AsElement()->GetAttr(kNameSpaceID_None, nsGkAtoms::alt, aName))
if (!mContent->GetAttr(kNameSpaceID_None, nsGkAtoms::alt, aName))
Value(aName);
return eNameOK;
@@ -167,8 +167,7 @@ HTMLAreaAccessible::Description(nsString& aDescription)
aDescription.Truncate();
// Still to do - follow IE's standard here
RefPtr<dom::HTMLAreaElement> area =
dom::HTMLAreaElement::FromContentOrNull(mContent);
RefPtr<HTMLAreaElement> area = HTMLAreaElement::FromContentOrNull(mContent);
if (area)
area->GetShape(aDescription);
}