Index: src/gpu/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.cpp b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
index 8451e632d38ca06c731d348994374c5881145f8d..4c9fdea34e1cc2f98770bbbdf1628bcd74ad9de8 100644 |
--- a/src/gpu/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
@@ -35,7 +35,7 @@ static GrPathRendering::FillType convert_skpath_filltype(SkPath::FillType fill) |
GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrContext* context) { |
SkASSERT(context); |
SkASSERT(context->getGpu()); |
- if (context->getGpu()->caps()->pathRenderingSupport()) { |
+ if (context->getGpu()->caps()->shaderCaps()->pathRenderingSupport()) { |
return SkNEW_ARGS(GrStencilAndCoverPathRenderer, (context->getGpu())); |
} else { |
return NULL; |
@@ -43,7 +43,7 @@ GrPathRenderer* GrStencilAndCoverPathRenderer::Create(GrContext* context) { |
} |
GrStencilAndCoverPathRenderer::GrStencilAndCoverPathRenderer(GrGpu* gpu) { |
- SkASSERT(gpu->caps()->pathRenderingSupport()); |
+ SkASSERT(gpu->caps()->shaderCaps()->pathRenderingSupport()); |
fGpu = gpu; |
gpu->ref(); |
} |