Index: src/core/SkBitmapProcState.cpp |
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp |
index a535f086ea642921db8883325761b8af223951a1..59483d66a151ca6a4172a4c7289d4eb60a9949f1 100644 |
--- a/src/core/SkBitmapProcState.cpp |
+++ b/src/core/SkBitmapProcState.cpp |
@@ -198,7 +198,7 @@ bool SkBitmapProcState::possiblyScaleImage() { |
// so we only keep High quality if the scale is greater than this. |
// |
// Since we're dealing with the inverse, we compare against its inverse. |
- const SkScalar bicubicLimit = SkFloatToScalar(4.0f); |
+ const SkScalar bicubicLimit = 4.0f; |
const SkScalar bicubicLimitSqd = bicubicLimit * bicubicLimit; |
if (scaleSqd < bicubicLimitSqd) { // use bicubic scanline |
return false; |