Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index 42f74ea0f5231a77f70a86e65eab18aefba1daa6..bf1e58dae85779c292393e0967a226c6aa3e052e 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -399,8 +399,7 @@ |
void GrStencilAndCoverTextContext::flush() { |
if (fQueuedGlyphCount > 0) { |
- SkAutoTUnref<GrPathProcessor> pp(GrPathProcessor::Create(fPaint.getColor())); |
- fDrawTarget->drawPaths(&fDrawState, pp, fGlyphs, |
+ fDrawTarget->drawPaths(&fDrawState, fPaint.getColor(), fGlyphs, |
fGlyphIndices, GrPathRange::kU16_PathIndexType, |
get_xy_scalar_array(fGlyphPositions), |
GrPathRendering::kTranslate_PathTransformType, |