| Index: src/effects/SkColorMatrixFilter.cpp
|
| diff --git a/src/effects/SkColorMatrixFilter.cpp b/src/effects/SkColorMatrixFilter.cpp
|
| index 6401aaa55f0344ddb3ede1bd24e9843de1000c62..16275d59ff0971fd5d0e5f5eeb5aa0870a9cd6d8 100644
|
| --- a/src/effects/SkColorMatrixFilter.cpp
|
| +++ b/src/effects/SkColorMatrixFilter.cpp
|
| @@ -531,13 +531,10 @@ private:
|
|
|
| GR_DEFINE_FRAGMENT_PROCESSOR_TEST(ColorMatrixEffect);
|
|
|
| -GrFragmentProcessor* ColorMatrixEffect::TestCreate(SkRandom* random,
|
| - GrContext*,
|
| - const GrCaps&,
|
| - GrTexture* dummyTextures[2]) {
|
| +GrFragmentProcessor* ColorMatrixEffect::TestCreate(GrProcessorTestData* d) {
|
| SkColorMatrix colorMatrix;
|
| for (size_t i = 0; i < SK_ARRAY_COUNT(colorMatrix.fMat); ++i) {
|
| - colorMatrix.fMat[i] = random->nextSScalar1();
|
| + colorMatrix.fMat[i] = d->fRandom->nextSScalar1();
|
| }
|
| return ColorMatrixEffect::Create(colorMatrix);
|
| }
|
|
|