mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
Bug 950490 - Don't apply the transform twice when doing blurring in user-space. r=roc
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user