Index: Source/core/paint/SVGPaintContext.cpp |
diff --git a/Source/core/paint/SVGPaintContext.cpp b/Source/core/paint/SVGPaintContext.cpp |
index b3f1ccab7e8bf27d8e01831b5e6b68abf81b6bd4..571d02ab724de3aeef2b6ca331b24dd32acf6ddf 100644 |
--- a/Source/core/paint/SVGPaintContext.cpp |
+++ b/Source/core/paint/SVGPaintContext.cpp |
@@ -214,7 +214,10 @@ bool SVGPaintContext::paintForLayoutObject(const PaintInfo& paintInfo, const Com |
float paintAlpha = resourceMode == ApplyToFillMode ? svgStyle.fillOpacity() : svgStyle.strokeOpacity(); |
paintServer.applyToSkPaint(paint, paintAlpha); |
- paint.setFilterQuality(WebCoreInterpolationQualityToSkFilterQuality(InterpolationDefault)); |
+ // We always set filter quality to 'low' here. This value will only have an |
+ // effect for patterns, which are SkPictures, so using high-order filter |
+ // should have little effect on the overall quality. |
+ paint.setFilterQuality(kLow_SkFilterQuality); |
// TODO(fs): The color filter can set when generating a picture for a mask - |
// due to color-interpolation. We could also just apply the |