| Index: src/effects/SkMorphologyImageFilter.cpp
|
| diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp
|
| index 8de8ddaf68c1c4cb0e39c73b3c6d3e819579b4be..8040ef9cbe00b7045b5af42667ec0e3f154f4fc1 100644
|
| --- a/src/effects/SkMorphologyImageFilter.cpp
|
| +++ b/src/effects/SkMorphologyImageFilter.cpp
|
| @@ -278,7 +278,7 @@ public:
|
| kDilate_MorphologyType,
|
| };
|
|
|
| - static GrEffectRef* Create(GrTexture* tex, Direction dir, int radius, MorphologyType type) {
|
| + static GrEffect* Create(GrTexture* tex, Direction dir, int radius, MorphologyType type) {
|
| return SkNEW_ARGS(GrMorphologyEffect, (tex, dir, radius, type));
|
| }
|
|
|
| @@ -446,10 +446,10 @@ void GrMorphologyEffect::getConstantColorComponents(GrColor* color, uint32_t* va
|
|
|
| GR_DEFINE_EFFECT_TEST(GrMorphologyEffect);
|
|
|
| -GrEffectRef* GrMorphologyEffect::TestCreate(SkRandom* random,
|
| - GrContext*,
|
| - const GrDrawTargetCaps&,
|
| - GrTexture* textures[]) {
|
| +GrEffect* GrMorphologyEffect::TestCreate(SkRandom* random,
|
| + GrContext*,
|
| + const GrDrawTargetCaps&,
|
| + GrTexture* textures[]) {
|
| int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx :
|
| GrEffectUnitTest::kAlphaTextureIdx;
|
| Direction dir = random->nextBool() ? kX_Direction : kY_Direction;
|
|
|