Index: src/gpu/gl/GrGLPathRange.cpp |
diff --git a/src/gpu/gl/GrGLPathRange.cpp b/src/gpu/gl/GrGLPathRange.cpp |
index 5e89cb5d87871941bcc40d6b59a5e9b183547607..9aaf9db26bd29d5884974a9e5c47eabcafee2bb5 100644 |
--- a/src/gpu/gl/GrGLPathRange.cpp |
+++ b/src/gpu/gl/GrGLPathRange.cpp |
@@ -13,7 +13,7 @@ |
GrGLPathRange::GrGLPathRange(GrGpuGL* gpu, size_t size, const SkStrokeRec& stroke) |
: INHERITED(gpu, size, stroke), |
- fBasePathID(gpu->pathRendering()->genPaths(fSize)), |
+ fBasePathID(gpu->glPathRendering()->genPaths(fSize)), |
fNumDefinedPaths(0) { |
} |
@@ -28,7 +28,7 @@ void GrGLPathRange::initAt(size_t index, const SkPath& skPath) { |
} |
// Make sure the path at this index hasn't been initted already. |
- SkASSERT(GR_GL_FALSE == gpu->pathRendering()->isPath(fBasePathID + index)); |
+ SkASSERT(GR_GL_FALSE == gpu->glPathRendering()->isPath(fBasePathID + index)); |
GrGLPath::InitPathObject(gpu, fBasePathID + index, skPath, fStroke); |
++fNumDefinedPaths; |
@@ -39,7 +39,7 @@ void GrGLPathRange::onRelease() { |
SkASSERT(NULL != this->getGpu()); |
if (0 != fBasePathID && !this->isWrapped()) { |
- static_cast<GrGpuGL*>(this->getGpu())->pathRendering()->deletePaths(fBasePathID, fSize); |
+ static_cast<GrGpuGL*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, fSize); |
fBasePathID = 0; |
} |