Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 3d3be749d0668b5f95dadc6a01b629c738c0f934..94fcee03134a375d00b199440c4aac10ac7b1518 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -63,7 +63,8 @@ GrTextContext* GrDrawContext::createTextContext(GrRenderTarget* renderTarget, |
if (fContext->caps()->shaderCaps()->pathRenderingSupport() && |
renderTarget->isStencilBufferMultisampled() && |
fSurfaceProps.isUseDeviceIndependentFonts()) { |
- GrStencilAttachment* sb = renderTarget->renderTargetPriv().attachStencilAttachment(); |
+ GrStencilAttachment* sb = |
+ fContext->resourceProvider()->attachStencilAttachment(renderTarget); |
if (sb) { |
return GrStencilAndCoverTextContext::Create(fContext, surfaceProps); |
} |