diff options
author | 2013-01-22 20:35:13 +0000 | |
---|---|---|
committer | 2013-01-22 20:35:13 +0000 | |
commit | 8a252f79629b189a03de22cd8ff0312c5bccedd1 (patch) | |
tree | 8c2aa239766105fe6b5079c349b6a302c922c983 /src/effects/SkTableColorFilter.cpp | |
parent | 1e3052354ac155e3d9418cf7e8c8e009df524e01 (diff) |
Switch GrEffect::onIsEqual signature back to GrEffect from GrEffectRef.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/7188046
git-svn-id: http://skia.googlecode.com/svn/trunk@7326 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects/SkTableColorFilter.cpp')
-rw-r--r-- | src/effects/SkTableColorFilter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/SkTableColorFilter.cpp b/src/effects/SkTableColorFilter.cpp index dcdb39f5eb..b703f99cca 100644 --- a/src/effects/SkTableColorFilter.cpp +++ b/src/effects/SkTableColorFilter.cpp @@ -241,7 +241,7 @@ public: typedef GLColorTableEffect GLEffect; private: - virtual bool onIsEqual(const GrEffectRef&) const SK_OVERRIDE; + virtual bool onIsEqual(const GrEffect&) const SK_OVERRIDE; explicit ColorTableEffect(GrTexture* texture, unsigned flags); @@ -343,8 +343,8 @@ const GrBackendEffectFactory& ColorTableEffect::getFactory() const { return GrTBackendEffectFactory<ColorTableEffect>::getInstance(); } -bool ColorTableEffect::onIsEqual(const GrEffectRef& sBase) const { - return this->texture(0) == sBase->texture(0); +bool ColorTableEffect::onIsEqual(const GrEffect& sBase) const { + return this->texture(0) == sBase.texture(0); } void ColorTableEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { |