Index: src/gpu/effects/GrPorterDuffXferProcessor.cpp |
diff --git a/src/gpu/effects/GrPorterDuffXferProcessor.cpp b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
index 6fc3c93e00d1e725485aef94a129f20699104300..b6b57aefead08b0ccbcd477c73a6e28d53ad1f2c 100644 |
--- a/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
+++ b/src/gpu/effects/GrPorterDuffXferProcessor.cpp |
@@ -808,11 +808,8 @@ bool GrPorterDuffXPFactory::willReadDstColor(const GrCaps& caps, |
GR_DEFINE_XP_FACTORY_TEST(GrPorterDuffXPFactory); |
-GrXPFactory* GrPorterDuffXPFactory::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrCaps&, |
- GrTexture*[]) { |
- SkXfermode::Mode mode = SkXfermode::Mode(random->nextULessThan(SkXfermode::kLastCoeffMode)); |
+GrXPFactory* GrPorterDuffXPFactory::TestCreate(GrProcessorTestData* d) { |
+ SkXfermode::Mode mode = SkXfermode::Mode(d->fRandom->nextULessThan(SkXfermode::kLastCoeffMode)); |
return GrPorterDuffXPFactory::Create(mode); |
} |