diff --git a/src/core/SkAnalyticEdge.cpp b/src/core/SkAnalyticEdge.cpp index 33e94e7824..17e3793ec0 100644 --- a/src/core/SkAnalyticEdge.cpp +++ b/src/core/SkAnalyticEdge.cpp @@ -23,8 +23,8 @@ public: static inline SkFixed quickSkFDot6Div(SkFDot6 a, SkFDot6 b) { // Max inverse of b is 2^6 which is 2^22 in SkFixed format. - // Hence the safe value of abs(a) should be less than 2^10. - if (SkAbs32(b) < kInverseTableSize && SkAbs32(a) < (1 << 10)) { + // Hence the safe value of abs(a) should be less than 2^9. + if (SkAbs32(b) < kInverseTableSize && SkAbs32(a) < (1 << 9)) { SkASSERT((int64_t)a * QuickFDot6Inverse::Lookup(b) <= SK_MaxS32 && (int64_t)a * QuickFDot6Inverse::Lookup(b) >= SK_MinS32); SkFixed ourAnswer = (a * QuickFDot6Inverse::Lookup(b)) >> 6;