Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index 9a9a22cf2337bd1bb86be513c12ca4b372b36f16..175811450c87e2ede5e9929b567dfb2e71620e80 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -909,13 +909,13 @@ SkFilterQuality GraphicsContext::computeFilterQuality(Image* image, const FloatR |
SkScalarToFloat(src.width()), SkScalarToFloat(src.height()), |
SkScalarToFloat(destRectTarget.width()), SkScalarToFloat(destRectTarget.height()), |
image->isImmutableBitmap()); |
- } |
- if (resampling == InterpolationNone) { |
- // FIXME: This is to not break tests (it results in the filter bitmap flag |
- // being set to true). We need to decide if we respect InterpolationNone |
- // being returned from computeInterpolationQuality. |
- resampling = InterpolationLow; |
+ if (resampling == InterpolationNone) { |
+ // FIXME: This is to not break tests (it results in the filter bitmap flag |
+ // being set to true). We need to decide if we respect InterpolationNone |
+ // being returned from computeInterpolationQuality. |
+ resampling = InterpolationLow; |
+ } |
} |
return static_cast<SkFilterQuality>(limitInterpolationQuality(this, resampling)); |
} |