Bug 1395870 - Changes in
bug 1361639 caused some deadcode in SVGTransformableElement::GetAnimatedTransformList r?cjku
MozReview-Commit-ID: K97vjkbNMtr
--- a/dom/svg/SVGTransformableElement.cpp
+++ b/dom/svg/SVGTransformableElement.cpp
@@ -200,19 +200,16 @@ SVGTransformableElement::GetBBox(const S
flags |= nsSVGUtils::eBBoxIncludeStroke;
}
if (aOptions.mMarkers) {
flags |= nsSVGUtils::eBBoxIncludeMarkers;
}
if (aOptions.mClipped) {
flags |= nsSVGUtils::eBBoxIncludeClipped;
}
- if (flags == 0) {
- return NS_NewSVGRect(this,0,0,0,0);
- }
if (flags == nsSVGUtils::eBBoxIncludeMarkers ||
flags == nsSVGUtils::eBBoxIncludeClipped) {
flags |= nsSVGUtils::eBBoxIncludeFill;
}
return NS_NewSVGRect(this, ToRect(nsSVGUtils::GetBBox(frame, flags)));
}
}