Bug 765107 - Fix transformed filter drawing with Azure; r=bas

--HG--
extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
This commit is contained in:
Brian Birtles 2012-07-18 15:15:17 -04:00
parent a413daa790
commit f909c43c9b

View File

@ -1499,7 +1499,7 @@ nsSVGUtils::CompositeSurfaceMatrix(gfxContext *aContext,
Matrix oldMat = dt->GetTransform();
RefPtr<SourceSurface> surf =
gfxPlatform::GetPlatform()->GetSourceSurfaceForSurface(dt, aSurface);
dt->SetTransform(oldMat * ToMatrix(aCTM));
dt->SetTransform(ToMatrix(aCTM) * oldMat);
gfxSize size = aSurface->GetSize();
NS_ASSERTION(size.width >= 0 && size.height >= 0, "Failure to get size for aSurface.");