Index: src/gpu/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp |
index e1ba1c84518003e033c683dc8280906d28549126..c3883b9c281d7dc86d78057391aa35e77aa41173 100644 |
--- a/src/gpu/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/GrDefaultPathRenderer.cpp |
@@ -9,7 +9,6 @@ |
#include "GrBatch.h" |
#include "GrBatchTarget.h" |
-#include "GrBufferAllocPool.h" |
#include "GrContext.h" |
#include "GrDefaultGeoProcFactory.h" |
#include "GrPathUtils.h" |
@@ -319,10 +318,8 @@ public: |
const GrVertexBuffer* vertexBuffer; |
int firstVertex; |
- void* verts = batchTarget->vertexPool()->makeSpace(vertexStride, |
- maxVertices, |
- &vertexBuffer, |
- &firstVertex); |
+ void* verts = batchTarget->makeVertSpace(vertexStride, maxVertices, |
+ &vertexBuffer, &firstVertex); |
if (!verts) { |
SkDebugf("Could not allocate vertices\n"); |
@@ -334,9 +331,7 @@ public: |
void* indices = NULL; |
if (isIndexed) { |
- indices = batchTarget->indexPool()->makeSpace(maxIndices, |
- &indexBuffer, |
- &firstIndex); |
+ indices = batchTarget->makeIndexSpace(maxIndices, &indexBuffer, &firstIndex); |
if (!indices) { |
SkDebugf("Could not allocate indices\n"); |