Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 744d97f4268a9e6c75769b3a8e4abb791b2f26fb..a90129480ede4ca17c5965f40a75d703e83c643c 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -10,6 +10,7 @@ |
#include "GrDrawTarget.h" |
#include "GrFontScaler.h" |
#include "GrIndexBuffer.h" |
+#include "GrPaintStyle.h" |
#include "GrTextStrike.h" |
#include "GrTextStrike_impl.h" |
#include "SkColorPriv.h" |
@@ -558,8 +559,10 @@ void GrBitmapTextContext::drawPackedGlyph(GrGlyph::PackedID packed, |
SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop))); |
GrPaint tmpPaint(fPaint); |
am.setPreConcat(fContext, translate, &tmpPaint); |
+ GrPaintStyle style; |
SkStrokeRec stroke(SkStrokeRec::kFill_InitStyle); |
- fContext->drawPath(tmpPaint, *glyph->fPath, stroke); |
+ style.setStrokeRec(&stroke); |
+ fContext->drawPath(tmpPaint, *glyph->fPath, style); |
return; |
} |