| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index d971f58ece1ce20156cf6a225e7b263ec8030966..157d14a36339c1542c30486e3032fb4db7c509f7 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -117,7 +117,7 @@ void GrDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint,
|
| GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawText");
|
|
|
| if (!fTextContext) {
|
| - fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget);
|
| + fTextContext = GrAtlasTextContext::Create();
|
| }
|
|
|
| fTextContext->drawText(fContext, this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps,
|
| @@ -136,7 +136,7 @@ void GrDrawContext::drawPosText(const GrClip& clip, const GrPaint& grPaint,
|
| GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawPosText");
|
|
|
| if (!fTextContext) {
|
| - fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget);
|
| + fTextContext = GrAtlasTextContext::Create();
|
| }
|
|
|
| fTextContext->drawPosText(fContext, this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps,
|
| @@ -154,7 +154,7 @@ void GrDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint,
|
| GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::drawTextBlob");
|
|
|
| if (!fTextContext) {
|
| - fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget);
|
| + fTextContext = GrAtlasTextContext::Create();
|
| }
|
|
|
| fTextContext->drawTextBlob(fContext, this, clip, skPaint, viewMatrix, fSurfaceProps, blob, x,
|
|
|