Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index ee0316a255e8d06f6c24d0a6dd7b5b7936d9d1fa..46993c7f33aa4abad0ce64fbdd0f694ce1028665 100644 |
--- a/src/gpu/batches/GrPLSPathRenderer.cpp |
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp |
@@ -887,8 +887,7 @@ public: |
} |
mesh.init(kTriangles_GrPrimitiveType, triVertexBuffer, firstTriVertex, |
triVertices.count()); |
- target->initDraw(triangleProcessor); |
- target->draw(mesh); |
+ target->draw(triangleProcessor, mesh); |
} |
if (quadVertices.count()) { |
@@ -906,8 +905,7 @@ public: |
} |
mesh.init(kTriangles_GrPrimitiveType, quadVertexBuffer, firstQuadVertex, |
quadVertices.count()); |
- target->initDraw(quadProcessor); |
- target->draw(mesh); |
+ target->draw(quadProcessor, mesh); |
} |
SkAutoTUnref<GrGeometryProcessor> finishProcessor( |
@@ -935,8 +933,7 @@ public: |
mesh.init(kTriangles_GrPrimitiveType, rectVertexBuffer, firstRectVertex, |
kRectVertexCount); |
- target->initDraw(finishProcessor); |
- target->draw(mesh); |
+ target->draw(finishProcessor, mesh); |
} |
} |