Index: include/gpu/GrDrawEffect.h |
diff --git a/include/gpu/GrDrawEffect.h b/include/gpu/GrDrawEffect.h |
index 9a7a75d55f6c9ccdf9c2cff638c84c4d685ace36..6aff82ef507de001395aebe333578628a9ea288e 100644 |
--- a/include/gpu/GrDrawEffect.h |
+++ b/include/gpu/GrDrawEffect.h |
@@ -24,10 +24,10 @@ public: |
SkASSERT(NULL != fEffectStage); |
SkASSERT(NULL != fEffectStage->getEffect()); |
} |
- const GrEffectRef* effect() const { return fEffectStage->getEffect(); } |
+ const GrEffect* effect() const { return fEffectStage->getEffect(); } |
template <typename T> |
- const T& castEffect() const { return *static_cast<const T*>(this->effect()->get()); } |
+ const T& castEffect() const { return *static_cast<const T*>(this->effect()); } |
const SkMatrix& getCoordChangeMatrix() const { |
if (fExplicitLocalCoords) { |