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