Index: src/gpu/effects/GrConvexPolyEffect.cpp |
diff --git a/src/gpu/effects/GrConvexPolyEffect.cpp b/src/gpu/effects/GrConvexPolyEffect.cpp |
index 2504fd4cccec8103e66fb51f6fb1f814948b7025..d1495a3276912ab50d5c45c050edd303a42a9223 100644 |
--- a/src/gpu/effects/GrConvexPolyEffect.cpp |
+++ b/src/gpu/effects/GrConvexPolyEffect.cpp |
@@ -60,7 +60,7 @@ private: |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(AARectEffect); |
-GrFragmentProcessor* AARectEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* AARectEffect::TestCreate(GrProcessorTestData* d) { |
SkRect rect = SkRect::MakeLTRB(d->fRandom->nextSScalar1(), |
d->fRandom->nextSScalar1(), |
d->fRandom->nextSScalar1(), |
@@ -339,7 +339,7 @@ bool GrConvexPolyEffect::onIsEqual(const GrFragmentProcessor& other) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConvexPolyEffect); |
-GrFragmentProcessor* GrConvexPolyEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* GrConvexPolyEffect::TestCreate(GrProcessorTestData* d) { |
int count = d->fRandom->nextULessThan(kMaxEdges) + 1; |
SkScalar edges[kMaxEdges * 3]; |
for (int i = 0; i < 3 * count; ++i) { |