Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index beaaa903b2be535637e6a9019b03cb56794bb0ea..c4011e73142116d6156ccaca204468aa9f856efd 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -204,7 +204,7 @@ void GrGpuGL::abandonResources(){ |
fProgramCache->abandon(); |
fHWProgramID = 0; |
if (this->glCaps().pathRenderingSupport()) { |
- fPathRendering->abandonGpuResources(); |
+ this->glPathRendering()->abandonGpuResources(); |
} |
} |
@@ -222,7 +222,7 @@ bool GrGpuGL::flushGraphicsState(DrawType type, const GrDeviceCoordTexture* dstC |
const GrRenderTarget* rt = this->getDrawState().getRenderTarget(); |
SkISize size; |
size.set(rt->width(), rt->height()); |
- this->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin()); |
+ this->glPathRendering()->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin()); |
} else { |
this->flushMiscFixedFunctionState(); |