Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index 2d2f9a14432dd7aae4a719e6469858f30bb8ef84..a1ec547983ad87a23f55a3a0ff1a6d2dcbe5dd33 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -12,6 +12,7 @@ |
#include "GrFontScaler.h" |
#include "SkGlyphCache.h" |
#include "GrIndexBuffer.h" |
+#include "GrPaintStyle.h" |
#include "GrTextStrike.h" |
#include "GrTextStrike_impl.h" |
#include "SkDistanceFieldGen.h" |
@@ -247,8 +248,10 @@ void GrDistanceFieldTextContext::drawPackedGlyph(GrGlyph::PackedID packed, |
ctm.postTranslate(sx, sy); |
GrPaint tmpPaint(fPaint); |
am.setPreConcat(fContext, ctm, &tmpPaint); |
+ GrPaintStyle style; |
SkStrokeRec stroke(SkStrokeRec::kFill_InitStyle); |
- fContext->drawPath(tmpPaint, *glyph->fPath, stroke); |
+ style.setStrokeRec(&stroke); |
+ fContext->drawPath(tmpPaint, *glyph->fPath, style); |
return; |
} |