Index: src/gpu/effects/GrCoverageSetOpXP.cpp |
diff --git a/src/gpu/effects/GrCoverageSetOpXP.cpp b/src/gpu/effects/GrCoverageSetOpXP.cpp |
index c732098679e53d3350221cb6f6707ef17cfff35d..d7f4347b08f98c42dae25d406b9849e0f15b04e5 100644 |
--- a/src/gpu/effects/GrCoverageSetOpXP.cpp |
+++ b/src/gpu/effects/GrCoverageSetOpXP.cpp |
@@ -245,12 +245,9 @@ void GrCoverageSetOpXPFactory::getInvariantBlendedColor(const GrProcOptInfo& col |
GR_DEFINE_XP_FACTORY_TEST(GrCoverageSetOpXPFactory); |
-GrXPFactory* GrCoverageSetOpXPFactory::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrCaps&, |
- GrTexture*[]) { |
- SkRegion::Op regionOp = SkRegion::Op(random->nextULessThan(SkRegion::kLastOp + 1)); |
- bool invertCoverage = random->nextBool(); |
+GrXPFactory* GrCoverageSetOpXPFactory::TestCreate(GrProcessorTestData* d) { |
+ SkRegion::Op regionOp = SkRegion::Op(d->fRandom->nextULessThan(SkRegion::kLastOp + 1)); |
+ bool invertCoverage = d->fRandom->nextBool(); |
return GrCoverageSetOpXPFactory::Create(regionOp, invertCoverage); |
} |