Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: src/gpu/GrClipMaskCache.h

Issue 22850006: Replace uses of GrAssert by SkASSERT. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrBufferAllocPool.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskCache.h
diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h
index 330a1f215f072d01f31881259c2dc8840cfe1598..f2b2abd325e98c32cb9c35fd90727ef3a2a1230f 100644
--- a/src/gpu/GrClipMaskCache.h
+++ b/src/gpu/GrClipMaskCache.h
@@ -55,7 +55,7 @@ public:
void reset() {
if (fStack.empty()) {
-// GrAssert(false);
+// SkASSERT(false);
return;
}
@@ -73,7 +73,7 @@ public:
void push();
void pop() {
- //GrAssert(!fStack.empty());
+ //SkASSERT(!fStack.empty());
if (!fStack.empty()) {
GrClipStackFrame* back = (GrClipStackFrame*) fStack.back();
@@ -95,7 +95,7 @@ public:
GrTexture* getLastMask() {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
return NULL;
}
@@ -107,7 +107,7 @@ public:
const GrTexture* getLastMask() const {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
return NULL;
}
@@ -121,7 +121,7 @@ public:
const SkIRect& bound) {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
return;
}
@@ -133,7 +133,7 @@ public:
int getLastMaskWidth() const {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
return -1;
}
@@ -149,7 +149,7 @@ public:
int getLastMaskHeight() const {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
return -1;
}
@@ -165,7 +165,7 @@ public:
void getLastBound(SkIRect* bound) const {
if (fStack.empty()) {
- GrAssert(false);
+ SkASSERT(false);
bound->setEmpty();
return;
}
« no previous file with comments | « src/gpu/GrBufferAllocPool.cpp ('k') | src/gpu/GrClipMaskManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698