| Index: src/gpu/GrStencilAndCoverTextContext.cpp
|
| diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp
|
| index 4ae5ec43dfffa7307e5baca9a41f14f47ad8992a..77960dbe7a8f6ec8beeee92e3840ec040369d92d 100644
|
| --- a/src/gpu/GrStencilAndCoverTextContext.cpp
|
| +++ b/src/gpu/GrStencilAndCoverTextContext.cpp
|
| @@ -523,8 +523,12 @@ void GrStencilAndCoverTextContext::TextRun::draw(GrContext* ctx,
|
| SkRect bounds = SkRect::MakeIWH(pipelineBuilder->getRenderTarget()->width(),
|
| pipelineBuilder->getRenderTarget()->height());
|
|
|
| - dc->drawPathsFromRange(pipelineBuilder, drawMatrix, localMatrix, color, glyphs, fDraw,
|
| - GrPathRendering::kWinding_FillType, bounds);
|
| + SkAutoTUnref<GrDrawPathBatchBase> batch(
|
| + GrDrawPathRangeBatch::Create(drawMatrix, localMatrix, color,
|
| + GrPathRendering::kWinding_FillType, glyphs, fDraw,
|
| + bounds));
|
| +
|
| + dc->drawPathBatch(*pipelineBuilder, batch);
|
| }
|
|
|
| if (fFallbackTextBlob) {
|
|
|