Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index 2059e793cf41e1e9b474440f2b9ef503dd761d15..c40dc7b7d6b73fddaa309ad2801bb5119a0b1d28 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -1897,9 +1897,7 @@ void GraphicsContext::preparePaintForDrawRectToRect( |
resampling = InterpolationLow; |
} |
resampling = limitInterpolationQuality(this, resampling); |
- |
- bool useBicubicFilter = resampling == InterpolationHigh; |
- paint->setFilterLevel(convertToSkiaFilterLevel(useBicubicFilter, resampling)); |
+ paint->setFilterLevel(static_cast<SkPaint::FilterLevel>(resampling)); |
} |
} |