Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 7731f4d9be7fdf65f27a4631a091086c7882db9a..9b90f8ac414c8255720d4554a86141224a768533 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -1526,10 +1526,10 @@ public: |
int instanceCount = fInstanceCount; |
const GrVertexBuffer* vertexBuffer; |
- void* vertices = batchTarget->vertexPool()->makeSpace(vertexStride, |
- glyphCount * kVerticesPerGlyph, |
- &vertexBuffer, |
- &flushInfo.fVertexOffset); |
+ void* vertices = batchTarget->makeVertSpace(vertexStride, |
+ glyphCount * kVerticesPerGlyph, |
+ &vertexBuffer, |
+ &flushInfo.fVertexOffset); |
flushInfo.fVertexBuffer.reset(SkRef(vertexBuffer)); |
flushInfo.fIndexBuffer.reset(batchTarget->resourceProvider()->refQuadIndexBuffer()); |
if (!vertices || !flushInfo.fVertexBuffer) { |