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/gl/GrGLProgramDesc.h b/src/gpu/gl/GrGLProgramDesc.h
index e85133c..8c441b0 100644
--- a/src/gpu/gl/GrGLProgramDesc.h
+++ b/src/gpu/gl/GrGLProgramDesc.h
@@ -30,7 +30,7 @@
// Returns this as a uint32_t array to be used as a key in the program cache.
const uint32_t* asKey() const {
- GrAssert(fInitialized);
+ SkASSERT(fInitialized);
return reinterpret_cast<const uint32_t*>(fKey.get());
}
@@ -71,12 +71,12 @@
GrGLProgramDesc* outDesc);
int numColorEffects() const {
- GrAssert(fInitialized);
+ SkASSERT(fInitialized);
return this->getHeader().fColorEffectCnt;
}
int numCoverageEffects() const {
- GrAssert(fInitialized);
+ SkASSERT(fInitialized);
return this->getHeader().fCoverageEffectCnt;
}
@@ -85,7 +85,7 @@
GrGLProgramDesc& operator= (const GrGLProgramDesc& other);
bool operator== (const GrGLProgramDesc& other) const {
- GrAssert(fInitialized && other.fInitialized);
+ SkASSERT(fInitialized && other.fInitialized);
// The length is masked as a hint to the compiler that the address will be 4 byte aligned.
return 0 == memcmp(this->asKey(), other.asKey(), this->keyLength() & ~0x3);
}