From 15f4e6899b53acce585da1d30ef64cd5d2fdc12f Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Tue, 4 Jun 2013 15:29:34 +1200 Subject: [PATCH] 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 --- image/src/VectorImage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image/src/VectorImage.cpp b/image/src/VectorImage.cpp index de30cc8b4dbf..26c60135ad45 100644 --- a/image/src/VectorImage.cpp +++ b/image/src/VectorImage.cpp @@ -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");