mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 786064. Part 1: Pass aFlags through VectorImage::Draw; FLAG_CLAMP is especially important to avoid taking a deathly-slow tiling path. r=joedrew
--HG-- extra : rebase_source : a8f5f9ea9755cf4e2017bb522e99870c2a7f48d5
This commit is contained in:
parent
aa60d410a4
commit
15f4e6899b
@ -714,7 +714,8 @@ VectorImage::Draw(gfxContext* aContext,
|
||||
gfxUtils::DrawPixelSnapped(aContext, drawable,
|
||||
aUserSpaceToImageSpace,
|
||||
subimage, sourceRect, imageRect, aFill,
|
||||
gfxASurface::ImageFormatARGB32, aFilter);
|
||||
gfxASurface::ImageFormatARGB32, aFilter,
|
||||
aFlags);
|
||||
|
||||
// Allow ourselves to fire FrameChanged and OnStopFrame again.
|
||||
MOZ_ASSERT(mRenderingObserver, "Should have a rendering observer by now");
|
||||
|
Loading…
Reference in New Issue
Block a user