| Index: src/core/SkPaint.cpp
|
| diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
|
| index d3384a628d05dc421758816d893bbbb7800fe403..638e251b363908a57d5875690472b7ccf35e7077 100644
|
| --- a/src/core/SkPaint.cpp
|
| +++ b/src/core/SkPaint.cpp
|
| @@ -925,7 +925,7 @@ size_t SkPaint::breakText(const void* textD, size_t length, SkScalar maxWidth,
|
| GlyphCacheProc glyphCacheProc = paint.getGlyphCacheProc(false);
|
| const int xyIndex = paint.isVerticalText() ? 1 : 0;
|
| // use 64bits for our accumulator, to avoid overflowing 16.16
|
| - Sk48Dot16 max = SkScalarToFixed(maxWidth);
|
| + Sk48Dot16 max = SkScalarTo48Dot16(maxWidth);
|
| Sk48Dot16 width = 0;
|
|
|
| SkAutoKern autokern;
|
|
|