| Index: src/core/SkBitmapProcState_shaderproc.h
|
| diff --git a/src/core/SkBitmapProcState_shaderproc.h b/src/core/SkBitmapProcState_shaderproc.h
|
| index 1ff2e6bf2480f067499e59b7461fb7b69217e049..53244561458d0ff182edca48b3525a53b48ce382 100644
|
| --- a/src/core/SkBitmapProcState_shaderproc.h
|
| +++ b/src/core/SkBitmapProcState_shaderproc.h
|
| @@ -32,7 +32,7 @@ void SCALE_FILTER_NAME(const void* sIn, int x, int y, SkPMColor* SK_RESTRICT col
|
|
|
| {
|
| const SkBitmapProcStateAutoMapper mapper(s, x, y);
|
| - SkFixed fy = SkFractionalIntToFixed(mapper.y());
|
| + SkFixed fy = mapper.fixedY();
|
| const unsigned maxY = s.fPixmap.height() - 1;
|
| // compute our two Y values up front
|
| subY = TILEY_LOW_BITS(fy, maxY);
|
| @@ -44,7 +44,7 @@ void SCALE_FILTER_NAME(const void* sIn, int x, int y, SkPMColor* SK_RESTRICT col
|
| row0 = (const SRCTYPE*)(srcAddr + y0 * rb);
|
| row1 = (const SRCTYPE*)(srcAddr + y1 * rb);
|
| // now initialize fx
|
| - fx = SkFractionalIntToFixed(mapper.x());
|
| + fx = mapper.fixedX();
|
| }
|
|
|
| #ifdef PREAMBLE
|
|
|