| Index: src/gpu/effects/GrRRectEffect.cpp
|
| diff --git a/src/gpu/effects/GrRRectEffect.cpp b/src/gpu/effects/GrRRectEffect.cpp
|
| index af0f1fc8fd90aa940435f6109cabb8c3a1bed729..b5b95679f5e6c29e1f7a248d9c67f0222f32ece3 100644
|
| --- a/src/gpu/effects/GrRRectEffect.cpp
|
| +++ b/src/gpu/effects/GrRRectEffect.cpp
|
| @@ -107,7 +107,7 @@ bool CircularRRectEffect::onIsEqual(const GrFragmentProcessor& other) const {
|
|
|
| GR_DEFINE_FRAGMENT_PROCESSOR_TEST(CircularRRectEffect);
|
|
|
| -GrFragmentProcessor* CircularRRectEffect::TestCreate(GrProcessorTestData* d) {
|
| +const GrFragmentProcessor* CircularRRectEffect::TestCreate(GrProcessorTestData* d) {
|
| SkScalar w = d->fRandom->nextRangeScalar(20.f, 1000.f);
|
| SkScalar h = d->fRandom->nextRangeScalar(20.f, 1000.f);
|
| SkScalar r = d->fRandom->nextRangeF(kRadiusMin, 9.f);
|
| @@ -432,7 +432,7 @@ bool EllipticalRRectEffect::onIsEqual(const GrFragmentProcessor& other) const {
|
|
|
| GR_DEFINE_FRAGMENT_PROCESSOR_TEST(EllipticalRRectEffect);
|
|
|
| -GrFragmentProcessor* EllipticalRRectEffect::TestCreate(GrProcessorTestData* d) {
|
| +const GrFragmentProcessor* EllipticalRRectEffect::TestCreate(GrProcessorTestData* d) {
|
| SkScalar w = d->fRandom->nextRangeScalar(20.f, 1000.f);
|
| SkScalar h = d->fRandom->nextRangeScalar(20.f, 1000.f);
|
| SkVector r[4];
|
|
|