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:
Robert O'Callahan 2013-06-04 15:29:34 +12:00
parent aa60d410a4
commit 15f4e6899b

View File

@ -714,7 +714,8 @@ VectorImage::Draw(gfxContext* aContext,
gfxUtils::DrawPixelSnapped(aContext, drawable, gfxUtils::DrawPixelSnapped(aContext, drawable,
aUserSpaceToImageSpace, aUserSpaceToImageSpace,
subimage, sourceRect, imageRect, aFill, subimage, sourceRect, imageRect, aFill,
gfxASurface::ImageFormatARGB32, aFilter); gfxASurface::ImageFormatARGB32, aFilter,
aFlags);
// Allow ourselves to fire FrameChanged and OnStopFrame again. // Allow ourselves to fire FrameChanged and OnStopFrame again.
MOZ_ASSERT(mRenderingObserver, "Should have a rendering observer by now"); MOZ_ASSERT(mRenderingObserver, "Should have a rendering observer by now");