| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 1df84b0d39dcbf298417c40bf11935918c466a5a..f7d7e7bb099c4fce1e61c17f91083e573ff94d46 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -58,7 +58,8 @@ void GrDrawContext::copySurface(GrRenderTarget* dst, GrSurface* src,
|
| GrTextContext* GrDrawContext::createTextContext(GrRenderTarget* renderTarget,
|
| const SkSurfaceProps& surfaceProps) {
|
| if (fContext->caps()->shaderCaps()->pathRenderingSupport() &&
|
| - renderTarget->isStencilBufferMultisampled()) {
|
| + renderTarget->isStencilBufferMultisampled() &&
|
| + fSurfaceProps.isUseDistanceFieldFonts()) { // FIXME: Rename the dff flag to be more general.
|
| GrStencilAttachment* sb = renderTarget->renderTargetPriv().attachStencilAttachment();
|
| if (sb) {
|
| return GrStencilAndCoverTextContext::Create(fContext, this, surfaceProps);
|
|
|