Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index b375c88c11d8b2f2cade918941ea39fcbc083cc6..9595ae63bbd43f565b951a891af56c19abee9fbd 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -56,10 +56,10 @@ class GrGLAlphaThresholdEffect; |
class AlphaThresholdEffect : public GrEffect { |
public: |
- static GrEffectRef* Create(GrTexture* texture, |
- GrTexture* maskTexture, |
- float innerThreshold, |
- float outerThreshold) { |
+ static GrEffect* Create(GrTexture* texture, |
+ GrTexture* maskTexture, |
+ float innerThreshold, |
+ float outerThreshold) { |
return SkNEW_ARGS(AlphaThresholdEffect, (texture, |
maskTexture, |
innerThreshold, |
@@ -195,10 +195,10 @@ void GrGLAlphaThresholdEffect::setData(const GrGLUniformManager& uman, |
GR_DEFINE_EFFECT_TEST(AlphaThresholdEffect); |
-GrEffectRef* AlphaThresholdEffect::TestCreate(SkRandom* random, |
- GrContext* context, |
- const GrDrawTargetCaps&, |
- GrTexture** textures) { |
+GrEffect* AlphaThresholdEffect::TestCreate(SkRandom* random, |
+ GrContext* context, |
+ const GrDrawTargetCaps&, |
+ GrTexture** textures) { |
GrTexture* bmpTex = textures[GrEffectUnitTest::kSkiaPMTextureIdx]; |
GrTexture* maskTex = textures[GrEffectUnitTest::kAlphaTextureIdx]; |
float inner_thresh = random->nextUScalar1(); |