Index: tests/PrimitiveProcessorTest.cpp |
diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp |
index 52210f23751f5053437cbc285320a3c38e186645..a6f24848c6ed7ca4775218c1096c0fc11487468f 100644 |
--- a/tests/PrimitiveProcessorTest.cpp |
+++ b/tests/PrimitiveProcessorTest.cpp |
@@ -88,12 +88,11 @@ private: |
SkTArray<SkString> fAttribNames; |
}; |
SkAutoTUnref<GrGeometryProcessor> gp(new GP(fNumAttribs)); |
- target->initDraw(gp); |
QuadHelper helper; |
size_t vertexStride = gp->getVertexStride(); |
SkPoint* vertices = reinterpret_cast<SkPoint*>(helper.init(target, vertexStride, 1)); |
vertices->setRectFan(0.f, 0.f, 1.f, 1.f, vertexStride); |
- helper.recordDraw(target); |
+ helper.recordDraw(target, gp); |
} |
int fNumAttribs; |