Replace uses of GrAssert by SkASSERT.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/22850006
git-svn-id: http://skia.googlecode.com/svn/trunk@10789 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp
index 22b38a3..f14c171 100644
--- a/src/gpu/GrEffect.cpp
+++ b/src/gpu/GrEffect.cpp
@@ -63,7 +63,7 @@
SK_DEFINE_INST_COUNT(GrEffectRef)
GrEffectRef::~GrEffectRef() {
- GrAssert(this->unique());
+ SkASSERT(this->unique());
fEffect->EffectRefDestroyed();
fEffect->unref();
}
@@ -79,7 +79,7 @@
///////////////////////////////////////////////////////////////////////////////
GrEffect::~GrEffect() {
- GrAssert(NULL == fEffectRef);
+ SkASSERT(NULL == fEffectRef);
}
const char* GrEffect::name() const {
@@ -91,7 +91,7 @@
}
void GrEffect::addVertexAttrib(GrSLType type) {
- GrAssert(fVertexAttribTypes.count() < kMaxVertexAttribs);
+ SkASSERT(fVertexAttribTypes.count() < kMaxVertexAttribs);
fVertexAttribTypes.push_back(type);
}