Index: src/gpu/batches/GrNinePatch.cpp |
diff --git a/src/gpu/batches/GrNinePatch.cpp b/src/gpu/batches/GrNinePatch.cpp |
index 45c33d771cd9dba837d8785f9cebc830db8d5c0d..24e3dd6e03ba011c62c6d3d2236f47984211f92c 100644 |
--- a/src/gpu/batches/GrNinePatch.cpp |
+++ b/src/gpu/batches/GrNinePatch.cpp |
@@ -91,8 +91,6 @@ private: |
return; |
} |
- target->initDraw(gp); |
- |
size_t vertexStride = gp->getVertexStride(); |
int instanceCount = fGeoData.count(); |
@@ -138,7 +136,7 @@ private: |
verts += kVertsPerRect * vertexStride; |
} |
} |
- helper.recordDraw(target); |
+ helper.recordDraw(target, gp); |
} |
void initBatchTracker(const GrXPOverridesForBatch& overrides) override { |