Bug 950490 - Don't apply the transform twice when doing blurring in user-space. r=roc

This commit is contained in:
Matt Woodrow 2013-12-18 14:58:21 +13:00
parent 5049de43e5
commit 26e54b6c6a

@ -4862,6 +4862,8 @@ nsContextBoxBlur::BlurRectangle(gfxContext* aDestinationCtx,
scaleX = transform.xx;
scaleY = transform.yy;
aDestinationCtx->IdentityMatrix();
} else {
transform = gfxMatrix();
}
gfxPoint blurStdDev = ComputeBlurStdDev(aBlurRadius, aAppUnitsPerDevPixel, scaleX, scaleY);