Index: Source/platform/graphics/skia/SkiaUtils.cpp |
diff --git a/Source/platform/graphics/skia/SkiaUtils.cpp b/Source/platform/graphics/skia/SkiaUtils.cpp |
index 8391b1f18a0d6ebc76a6a7f5f39beeb7eb58bc36..a1deda4a14f9138f799fafdbfe8bd54d190cf55a 100644 |
--- a/Source/platform/graphics/skia/SkiaUtils.cpp |
+++ b/Source/platform/graphics/skia/SkiaUtils.cpp |
@@ -199,20 +199,6 @@ InterpolationQuality limitInterpolationQuality(const GraphicsContext* context, I |
return std::min(resampling, context->imageInterpolationQuality()); |
} |
-SkPaint::FilterLevel convertToSkiaFilterLevel(bool useBicubicFilter, InterpolationQuality resampling) |
-{ |
- // FIXME: If we get rid of this special case, this function can go away entirely. |
- if (useBicubicFilter) |
- return SkPaint::kHigh_FilterLevel; |
- |
- // InterpolationHigh if useBicubicFilter is false means that we do |
- // a manual high quality resampling before drawing to Skia. |
- if (resampling == InterpolationHigh) |
- return SkPaint::kNone_FilterLevel; |
- |
- return static_cast<SkPaint::FilterLevel>(resampling); |
-} |
- |
InterpolationQuality computeInterpolationQuality( |
const SkMatrix& matrix, |
float srcWidth, |