diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-14 17:07:22 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-14 17:07:22 +0000 |
commit | 00835cc55046e66b5a33633ec045bc9aa0015ebd (patch) | |
tree | 951a3fea990fa1e163a8f4535d5b68d57a60d0e6 /src | |
parent | e197cbf9a3e66bab926bc5e51962752dad5221a0 (diff) |
Fix debug build after r7153 (removed param referenced in assertion)
git-svn-id: http://skia.googlecode.com/svn/trunk@7154 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/effects/gradients/SkLinearGradient.cpp | 2 | ||||
-rw-r--r-- | src/effects/gradients/SkRadialGradient.cpp | 2 | ||||
-rw-r--r-- | src/effects/gradients/SkTwoPointConicalGradient.cpp | 2 | ||||
-rw-r--r-- | src/effects/gradients/SkTwoPointRadialGradient.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp index 1c95f29bfe..8ae764607a 100644 --- a/src/effects/gradients/SkLinearGradient.cpp +++ b/src/effects/gradients/SkLinearGradient.cpp @@ -547,7 +547,7 @@ void GrGLLinearGradient::emitCode(GrGLShaderBuilder* builder, ///////////////////////////////////////////////////////////////////// GrEffect* SkLinearGradient::asNewEffect(GrContext* context, const SkPaint&) const { - SkASSERT(NULL != context && NULL != stage); + SkASSERT(NULL != context); SkMatrix matrix; if (!this->getLocalMatrix().invert(&matrix)) { return false; diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp index db089f69f7..b9c4e3b1dd 100644 --- a/src/effects/gradients/SkRadialGradient.cpp +++ b/src/effects/gradients/SkRadialGradient.cpp @@ -570,7 +570,7 @@ void GrGLRadialGradient::emitCode(GrGLShaderBuilder* builder, ///////////////////////////////////////////////////////////////////// GrEffect* SkRadialGradient::asNewEffect(GrContext* context, const SkPaint&) const { - SkASSERT(NULL != context && NULL != stage); + SkASSERT(NULL != context); SkMatrix matrix; if (!this->getLocalMatrix().invert(&matrix)) { diff --git a/src/effects/gradients/SkTwoPointConicalGradient.cpp b/src/effects/gradients/SkTwoPointConicalGradient.cpp index ab420c61cb..6fab6d4c60 100644 --- a/src/effects/gradients/SkTwoPointConicalGradient.cpp +++ b/src/effects/gradients/SkTwoPointConicalGradient.cpp @@ -685,7 +685,7 @@ GrGLEffect::EffectKey GrGLConical2Gradient::GenKey(const GrEffectStage& s, const ///////////////////////////////////////////////////////////////////// GrEffect* SkTwoPointConicalGradient::asNewEffect(GrContext* context, const SkPaint&) const { - SkASSERT(NULL != context && NULL != stage); + SkASSERT(NULL != context); SkASSERT(fPtsToUnit.isIdentity()); // invert the localM, translate to center1, rotate so center2 is on x axis. SkMatrix matrix; diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp index 6615c4d373..61ed3d55a1 100644 --- a/src/effects/gradients/SkTwoPointRadialGradient.cpp +++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp @@ -658,7 +658,7 @@ GrGLEffect::EffectKey GrGLRadial2Gradient::GenKey(const GrEffectStage& s, const ///////////////////////////////////////////////////////////////////// GrEffect* SkTwoPointRadialGradient::asNewEffect(GrContext* context, const SkPaint&) const { - SkASSERT(NULL != context && NULL != stage); + SkASSERT(NULL != context); // invert the localM, translate to center1 (fPtsToUni), rotate so center2 is on x axis. SkMatrix matrix; if (!this->getLocalMatrix().invert(&matrix)) { |