Index: src/core/SkBitmapFilter.cpp |
diff --git a/src/core/SkBitmapFilter.cpp b/src/core/SkBitmapFilter.cpp |
index c607e6814b2fbb55b291b4f62c159d131cd38f48..f06662544e99f86eae6b402ee7ed1d4be5672cd3 100644 |
--- a/src/core/SkBitmapFilter.cpp |
+++ b/src/core/SkBitmapFilter.cpp |
@@ -31,8 +31,8 @@ void highQualityFilter(ColorPacker pack, const SkBitmapProcState& s, int x, int |
while (count-- > 0) { |
SkPoint srcPt; |
- s.fInvProc(s.fInvMatrix, SkFloatToScalar(x + 0.5f), |
- SkFloatToScalar(y + 0.5f), &srcPt); |
+ s.fInvProc(s.fInvMatrix, x + 0.5f, |
+ y + 0.5f, &srcPt); |
srcPt.fX -= SK_ScalarHalf; |
srcPt.fY -= SK_ScalarHalf; |