diff options
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r-- | src/core/SkPaint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index 060e905ec7..017662ff48 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1318,7 +1318,7 @@ static bool too_big_for_lcd(const SkScalerContext::Rec& rec, bool checkPost2x2) * typically returns the same looking resuts for tiny changes in the matrix. */ static SkScalar sk_relax(SkScalar x) { - int n = sk_float_round2int(x * 1024); + SkScalar n = SkScalarRoundToScalar(x * 1024); return n / 1024.0f; } |