Index: src/gpu/effects/GrConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp |
index f70b664505456107f28b85ab99e0d1c46abd76a4..5fd62b8cdfeed43f75604c31fae950b0d3c88e6c 100644 |
--- a/src/gpu/effects/GrConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrConvolutionEffect.cpp |
@@ -217,7 +217,7 @@ bool GrConvolutionEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConvolutionEffect); |
-GrFragmentProcessor* GrConvolutionEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* GrConvolutionEffect::TestCreate(GrProcessorTestData* d) { |
int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : |
GrProcessorUnitTest::kAlphaTextureIdx; |
Direction dir = d->fRandom->nextBool() ? kX_Direction : kY_Direction; |