| Index: tests/PrimitiveProcessorTest.cpp
|
| diff --git a/tests/PrimitiveProcessorTest.cpp b/tests/PrimitiveProcessorTest.cpp
|
| index 922b4fd89232799d7b51d809befc1c9ef01f9191..06ee3927ccf6ceaa00ce943fed852f7ee3d93378 100644
|
| --- a/tests/PrimitiveProcessorTest.cpp
|
| +++ b/tests/PrimitiveProcessorTest.cpp
|
| @@ -89,12 +89,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;
|
|
|