Index: src/gpu/gl/GrGLPathRendering.cpp |
diff --git a/src/gpu/gl/GrGLPathRendering.cpp b/src/gpu/gl/GrGLPathRendering.cpp |
index 06f22d0750e4056495ea81bad49e5b21a2a5c525..8a0b35c661927a149747f9444c4b102916316875 100644 |
--- a/src/gpu/gl/GrGLPathRendering.cpp |
+++ b/src/gpu/gl/GrGLPathRendering.cpp |
@@ -197,7 +197,7 @@ void GrGLPathRendering::drawPaths(const GrPathRange* pathRange, |
const void* indices, PathIndexType indexType, |
const float transformValues[], PathTransformType transformType, |
int count, const GrStencilSettings& stencilSettings) { |
- SkASSERT(fGpu->caps()->pathRenderingSupport()); |
+ SkASSERT(fGpu->caps()->shaderCaps()->pathRenderingSupport()); |
GrGLuint baseID = static_cast<const GrGLPathRange*>(pathRange)->basePathID(); |
@@ -260,7 +260,7 @@ void GrGLPathRendering::setProjectionMatrix(const SkMatrix& matrix, |
const SkISize& renderTargetSize, |
GrSurfaceOrigin renderTargetOrigin) { |
- SkASSERT(fGpu->glCaps().pathRenderingSupport()); |
+ SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); |
if (renderTargetOrigin == fHWProjectionMatrixState.fRenderTargetOrigin && |
renderTargetSize == fHWProjectionMatrixState.fRenderTargetSize && |