diff options
author | 2015-08-28 18:46:56 -0700 | |
---|---|---|
committer | 2015-08-28 18:46:56 -0700 | |
commit | c21b09eec91c9e263cb0b88467ea44e348ed4962 (patch) | |
tree | 7020208518ec898e96127266e406c8ef4942e423 /src/effects/SkMorphologyImageFilter.cpp | |
parent | a511e6ad1042093bea5b015c22a920313fc57c0b (diff) |
Change SkShader;asFragmentProcessor signature to no longer take skpaint\grcolor*
Committed: https://skia.googlesource.com/skia/+/ecfdc251be71f3d634e76afdd6375bf55fc061aa
Review URL: https://codereview.chromium.org/1316513002
Diffstat (limited to 'src/effects/SkMorphologyImageFilter.cpp')
-rw-r--r-- | src/effects/SkMorphologyImageFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp index cde29c0f4c..2c99af92da 100644 --- a/src/effects/SkMorphologyImageFilter.cpp +++ b/src/effects/SkMorphologyImageFilter.cpp @@ -445,7 +445,7 @@ void GrMorphologyEffect::onComputeInvariantOutput(GrInvariantOutput* inout) cons GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrMorphologyEffect); -GrFragmentProcessor* GrMorphologyEffect::TestCreate(GrProcessorTestData* d) { +const GrFragmentProcessor* GrMorphologyEffect::TestCreate(GrProcessorTestData* d) { int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx : GrProcessorUnitTest::kAlphaTextureIdx; Direction dir = d->fRandom->nextBool() ? kX_Direction : kY_Direction; |