Index: src/core/SkPaint.cpp |
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp |
index c00dcc6b4f3bc1ecade57eec69f50a24b5e35225..975d0ccc07ee536bea45a4819a447bb308013f87 100644 |
--- a/src/core/SkPaint.cpp |
+++ b/src/core/SkPaint.cpp |
@@ -2313,7 +2313,7 @@ |
fPaint.setTextSize(SkIntToScalar(SkPaint::kCanonicalTextSizeForPaths)); |
fScale = paint.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; |
if (has_thick_frame(fPaint)) { |
- fPaint.setStrokeWidth(fPaint.getStrokeWidth() / fScale); |
+ fPaint.setStrokeWidth(SkScalarDiv(fPaint.getStrokeWidth(), fScale)); |
} |
} else { |
fScale = SK_Scalar1; |