Index: src/ports/SkFontHost_win.cpp |
diff --git a/src/ports/SkFontHost_win.cpp b/src/ports/SkFontHost_win.cpp |
index 725c1f7a86cfb19fe3af9365fc578cdfee3a151f..7c0e3ffc252b842d437d825f141e2617e480a40f 100755 |
--- a/src/ports/SkFontHost_win.cpp |
+++ b/src/ports/SkFontHost_win.cpp |
@@ -884,7 +884,7 @@ void SkScalerContext_GDI::generateMetrics(SkGlyph* glyph) { |
-SkFIXEDToScalar(fMat22.eM12), SkFIXEDToScalar(fMat22.eM22), 0, |
0, 0, SkScalarToPersp(SK_Scalar1)); |
m.mapRect(&bounds); |
- bounds.roundOut(); |
+ bounds.roundOut(&bounds); |
glyph->fLeft = SkScalarTruncToInt(bounds.fLeft); |
glyph->fTop = SkScalarTruncToInt(bounds.fTop); |
glyph->fWidth = SkScalarTruncToInt(bounds.width()); |