Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index f2bcf3ed0d6abf52353af39fe59e5905d26499c9..1bd708b5e0a78a6fc90873966fe3cc6c10954136 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -816,7 +816,7 @@ void GrRectBlurEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrRectBlurEffect); |
-GrFragmentProcessor* GrRectBlurEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* GrRectBlurEffect::TestCreate(GrProcessorTestData* d) { |
float sigma = d->fRandom->nextRangeF(3,8); |
float width = d->fRandom->nextRangeF(200,300); |
float height = d->fRandom->nextRangeF(200,300); |
@@ -997,7 +997,7 @@ bool GrRRectBlurEffect::onIsEqual(const GrFragmentProcessor& other) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrRRectBlurEffect); |
-GrFragmentProcessor* GrRRectBlurEffect::TestCreate(GrProcessorTestData* d) { |
+const GrFragmentProcessor* GrRRectBlurEffect::TestCreate(GrProcessorTestData* d) { |
SkScalar w = d->fRandom->nextRangeScalar(100.f, 1000.f); |
SkScalar h = d->fRandom->nextRangeScalar(100.f, 1000.f); |
SkScalar r = d->fRandom->nextRangeF(1.f, 9.f); |