bool nsSVGInnerSVGFrame::HasChildrenOnlyTransform(gfxMatrix *aTransform) const { SVGSVGElement *content = static_cast<SVGSVGElement*>(mContent); if (content->HasViewBoxOrSyntheticViewBox()) { // XXX Maybe return false if the transform is the identity transform? if (aTransform) { *aTransform = content->GetViewBoxTransform(); } return true; } return false; }