mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00
Bug 1350725 - Get rid of the GetUserToCanvasTM call in nsSVGUtils::PaintFrameWithEffects. r=longsonr
This commit is contained in:
parent
49d27ff112
commit
3a0faf6e5a
@ -859,7 +859,7 @@ nsSVGUtils::PaintFrameWithEffects(nsIFrame *aFrame,
|
||||
if (aDirtyRect) {
|
||||
// aDirtyRect is in outer-<svg> device pixels, but the filter code needs
|
||||
// it in frame space.
|
||||
gfxMatrix userToDeviceSpace = GetUserToCanvasTM(aFrame);
|
||||
gfxMatrix userToDeviceSpace = aTransform;
|
||||
if (userToDeviceSpace.IsSingular()) {
|
||||
return DrawResult::SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user