Index: src/core/SkBitmapScaler.cpp |
diff --git a/src/core/SkBitmapScaler.cpp b/src/core/SkBitmapScaler.cpp |
index 67a9508ee98250e4a401f471a3e5a877f49415ec..dc50464e54c837220811a2c55dc91bd321ab16a3 100644 |
--- a/src/core/SkBitmapScaler.cpp |
+++ b/src/core/SkBitmapScaler.cpp |
@@ -228,7 +228,11 @@ static SkBitmapScaler::ResizeMethod ResizeMethodToAlgorithmMethod( |
case SkBitmapScaler::RESIZE_BETTER: |
return SkBitmapScaler::RESIZE_HAMMING; |
default: |
+#ifdef SK_HIGH_QUALITY_IS_LANCZOS |
+ return SkBitmapScaler::RESIZE_LANCZOS3; |
+#else |
return SkBitmapScaler::RESIZE_MITCHELL; |
+#endif |
} |
} |