Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 7d53071a0e79ace0ef7357a059d250c168ef954a..8e611b0d00d2939255f99516f28097c119c5607b 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -234,7 +234,7 @@ GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
leakyProperties, |
bool enableDistanceFieldFonts) { |
if (fGpu->caps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
- GrStencilBuffer* sb = renderTarget->renderTargetPriv().attachStencilBuffer(); |
+ GrStencilAttachment* sb = renderTarget->renderTargetPriv().attachStencilAttachment(); |
if (sb) { |
return GrStencilAndCoverTextContext::Create(this, gpuDevice, leakyProperties); |
} |