Bug 265894 - Part 10. Remove SVGSVGElement::HasPreserveAspectRatio.
Since no callee of this funciton anymore.
MozReview-Commit-ID: 6tQdFA6e7U4
--- a/dom/svg/SVGSVGElement.cpp
+++ b/dom/svg/SVGSVGElement.cpp
@@ -659,23 +659,16 @@ SVGSVGElement::InvalidateTransformNotify
nsISVGSVGFrame* svgframe = do_QueryFrame(GetPrimaryFrame());
// might fail this check if we've failed conditional processing
if (svgframe) {
svgframe->NotifyViewportOrTransformChanged(
nsSVGDisplayableFrame::TRANSFORM_CHANGED);
}
}
-bool
-SVGSVGElement::HasPreserveAspectRatio()
-{
- return HasAttr(kNameSpaceID_None, nsGkAtoms::preserveAspectRatio) ||
- mPreserveAspectRatio.IsAnimated();
-}
-
nsSVGElement::EnumAttributesInfo
SVGSVGElement::GetEnumInfo()
{
return EnumAttributesInfo(mEnumAttributes, sEnumInfo,
ArrayLength(sEnumInfo));
}
void