Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 58a393140affbd3c7b6d65ef66425eb2f54a8e19..2d4694cb84af2227856632e8e1139d26bd9b9676 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -668,15 +668,12 @@ private: |
GR_DEFINE_GEOMETRY_PROCESSOR_TEST(QuadEdgeEffect); |
-GrGeometryProcessor* QuadEdgeEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrCaps& caps, |
- GrTexture*[]) { |
+GrGeometryProcessor* QuadEdgeEffect::TestCreate(GrProcessorTestData* d) { |
// Doesn't work without derivative instructions. |
- return caps.shaderCaps()->shaderDerivativeSupport() ? |
- QuadEdgeEffect::Create(GrRandomColor(random), |
- GrTest::TestMatrix(random), |
- random->nextBool()) : NULL; |
+ return d->fCaps->shaderCaps()->shaderDerivativeSupport() ? |
+ QuadEdgeEffect::Create(GrRandomColor(d->fRandom), |
+ GrTest::TestMatrix(d->fRandom), |
+ d->fRandom->nextBool()) : NULL; |
} |
/////////////////////////////////////////////////////////////////////////////// |