Index: src/gpu/effects/GrOvalEffect.cpp |
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp |
index 0f3df7d66c0f2609fa55a3ec10523b7e193d8675..42b71ade9e6bc876d7cc8bad9a0dbca5fbf7410e 100644 |
--- a/src/gpu/effects/GrOvalEffect.cpp |
+++ b/src/gpu/effects/GrOvalEffect.cpp |
@@ -75,7 +75,7 @@ bool CircleEffect::onIsEqual(const GrFragmentProcessor& other) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(CircleEffect); |
-GrFragmentProcessor* CircleEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* CircleEffect::TestCreate(GrProcessorTestData* d) { |
SkPoint center; |
center.fX = d->fRandom->nextRangeScalar(0.f, 1000.f); |
center.fY = d->fRandom->nextRangeScalar(0.f, 1000.f); |
@@ -245,7 +245,7 @@ bool EllipseEffect::onIsEqual(const GrFragmentProcessor& other) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(EllipseEffect); |
-GrFragmentProcessor* EllipseEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* EllipseEffect::TestCreate(GrProcessorTestData* d) { |
SkPoint center; |
center.fX = d->fRandom->nextRangeScalar(0.f, 1000.f); |
center.fY = d->fRandom->nextRangeScalar(0.f, 1000.f); |