Index: src/gpu/GrTessellatingPathRenderer.cpp |
diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp |
index 7a9c5a7751b35a125cf5b4e700d1ad435e705ee6..5fd1bcd47902563268329e798fbf3b2eea9de43e 100644 |
--- a/src/gpu/GrTessellatingPathRenderer.cpp |
+++ b/src/gpu/GrTessellatingPathRenderer.cpp |
@@ -1459,12 +1459,7 @@ public: |
GrPrimitiveType primitiveType = WIREFRAME ? kLines_GrPrimitiveType |
: kTriangles_GrPrimitiveType; |
GrDrawTarget::DrawInfo drawInfo; |
- drawInfo.setPrimitiveType(primitiveType); |
- drawInfo.setVertexBuffer(vertexBuffer); |
- drawInfo.setStartVertex(firstVertex); |
- drawInfo.setVertexCount(actualCount); |
- drawInfo.setStartIndex(0); |
- drawInfo.setIndexCount(0); |
+ drawInfo.init(primitiveType, vertexBuffer, firstVertex, actualCount); |
batchTarget->draw(drawInfo); |
batchTarget->putBackVertices((size_t)(count - actualCount), stride); |