applied bug1128467.patch

This commit is contained in:
2018-07-12 13:32:12 +08:00
parent 0fd38bf522
commit e6cb0c96a5
+1 -1
View File
@@ -5834,7 +5834,7 @@ ComputeSnappedImageDrawingParameters(gfxContext* aCtx,
}
gfxSize destScale = didSnap ? gfxSize(currentMatrix._11, currentMatrix._22)
: gfxSize(1.0, 1.0);
: currentMatrix.ScaleFactors(true);
gfxSize appUnitScaledDest(dest.width * destScale.width,
dest.height * destScale.height);
gfxSize scaledDest = appUnitScaledDest / aAppUnitsPerDevPixel;