Bug 542605. Use EXTEND_PAD_EDGE when painting svg images. r=jwatt

This was part of the cairo update, but I'm doing it separately to
minimize the amount of unrelated change.
This commit is contained in:
Jeff Muizelaar 2010-04-16 11:13:07 -04:00
parent a80090b84d
commit f8ad58b7c9

View File

@ -257,6 +257,7 @@ nsSVGImageFrame::PaintSVG(nsSVGRenderState *aContext,
if (thebesPattern) {
thebesPattern->SetFilter(nsLayoutUtils::GetGraphicsFilterForFrame(this));
thebesPattern->SetExtend(gfxPattern::EXTEND_PAD_EDGE);
gfxContext *gfx = aContext->GetGfxContext();