Bug 362226 - nested inner svg not updating viewbox. r=jwatt, sr=roc

git-svn-id: svn://10.0.0.236/trunk@216220 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tor%cs.brown.edu 2006-12-01 05:16:14 +00:00
parent 78bf66de9e
commit e81f27ecb0

View File

@ -211,6 +211,8 @@ nsSVGInnerSVGFrame::NotifyCanvasTMChanged(PRBool suppressInvalidation)
{
// make sure our cached transform matrix gets (lazily) updated
mCanvasTM = nsnull;
nsSVGSVGElement *svg = NS_STATIC_CAST(nsSVGSVGElement*, mContent);
svg->InvalidateViewBoxToViewport();
return nsSVGInnerSVGFrameBase::NotifyCanvasTMChanged(suppressInvalidation);
}