aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrDrawEffect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrDrawEffect.h')
-rw-r--r--include/gpu/GrDrawEffect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrDrawEffect.h b/include/gpu/GrDrawEffect.h
index 6aff82ef50..2bf17d86d1 100644
--- a/include/gpu/GrDrawEffect.h
+++ b/include/gpu/GrDrawEffect.h
@@ -21,8 +21,8 @@ public:
GrDrawEffect(const GrEffectStage& stage, bool explicitLocalCoords)
: fEffectStage(&stage)
, fExplicitLocalCoords(explicitLocalCoords) {
- SkASSERT(NULL != fEffectStage);
- SkASSERT(NULL != fEffectStage->getEffect());
+ SkASSERT(fEffectStage);
+ SkASSERT(fEffectStage->getEffect());
}
const GrEffect* effect() const { return fEffectStage->getEffect(); }