Index: src/core/SkBitmapProcState_matrixProcs.cpp |
diff --git a/src/core/SkBitmapProcState_matrixProcs.cpp b/src/core/SkBitmapProcState_matrixProcs.cpp |
index d7457ec53bd0a81191fe5683c191cbdf4062ac33..be0e371f7fb7db9c62a90c8237db86292b9d6e57 100644 |
--- a/src/core/SkBitmapProcState_matrixProcs.cpp |
+++ b/src/core/SkBitmapProcState_matrixProcs.cpp |
@@ -329,10 +329,10 @@ static void fill_sequential(uint16_t xptr[], int start, int count) { |
static int nofilter_trans_preamble(const SkBitmapProcState& s, uint32_t** xy, |
int x, int y) { |
const SkBitmapProcStateAutoMapper mapper(s, x, y); |
- **xy = s.fIntTileProcY(SkFractionalIntToInt(mapper.y()), s.fPixmap.height()); |
+ **xy = s.fIntTileProcY(mapper.intY(), s.fPixmap.height()); |
*xy += 1; // bump the ptr |
// return our starting X position |
- return SkFractionalIntToInt(mapper.x()); |
+ return mapper.intX(); |
} |
static void clampx_nofilter_trans(const SkBitmapProcState& s, |