| Index: src/core/SkScan_AntiPath.cpp
|
| diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp
|
| index 0d2152c7c15cb99b21832069abd16b31c36abd05..e5c67a958af2ef2069ff7ec1fff2a75e402a3e39 100644
|
| --- a/src/core/SkScan_AntiPath.cpp
|
| +++ b/src/core/SkScan_AntiPath.cpp
|
| @@ -589,13 +589,8 @@ static int rect_overflows_short_shift(SkIRect rect, int shift) {
|
| }
|
|
|
| static bool safeRoundOut(const SkRect& src, SkIRect* dst, int32_t maxInt) {
|
| -#ifdef SK_SCALAR_IS_FIXED
|
| - // the max-int (shifted) is exactly what we want to compare against, to know
|
| - // if we can survive shifting our fixed-point coordinates
|
| - const SkFixed maxScalar = maxInt;
|
| -#else
|
| const SkScalar maxScalar = SkIntToScalar(maxInt);
|
| -#endif
|
| +
|
| if (fitsInsideLimit(src, maxScalar)) {
|
| src.roundOut(dst);
|
| return true;
|
|
|