Index: src/gpu/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
index 7c0468d933704ff325a438e1f0e8a7a70def617f..fc4ab1647b9b28d930240d6663ea7ae63aad8a62 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
@@ -10,7 +10,6 @@ |
#include "GrBatch.h" |
#include "GrBatchTarget.h" |
-#include "GrBufferAllocPool.h" |
#include "GrContext.h" |
#include "GrPipelineBuilder.h" |
#include "GrResourceProvider.h" |
@@ -209,10 +208,10 @@ public: |
SkASSERT(vertexStride == 2 * sizeof(SkPoint)); |
const GrVertexBuffer* vertexBuffer; |
- void* vertices = batchTarget->vertexPool()->makeSpace(vertexStride, |
- kVerticesPerQuad * instanceCount, |
- &vertexBuffer, |
- &flushInfo.fVertexOffset); |
+ void* vertices = batchTarget->makeVertSpace(vertexStride, |
+ kVerticesPerQuad * instanceCount, |
+ &vertexBuffer, |
+ &flushInfo.fVertexOffset); |
flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); |
flushInfo.fIndexBuffer.reset(batchTarget->resourceProvider()->refQuadIndexBuffer()); |
if (!vertices || !flushInfo.fIndexBuffer) { |