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

Unified Diff: src/gpu/GrTextStrike_impl.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/GrTextStrike.cpp ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrTextStrike_impl.h
diff --git a/src/gpu/GrTextStrike_impl.h b/src/gpu/GrTextStrike_impl.h
index 48323bcc251cfda3fbaaa15ea605350f4bef722d..466e448de7ceecd8c16adb4f97f33fabe0b71f6f 100644
--- a/src/gpu/GrTextStrike_impl.h
+++ b/src/gpu/GrTextStrike_impl.h
@@ -32,18 +32,18 @@ private:
void GrFontCache::detachStrikeFromList(GrTextStrike* strike) {
if (strike->fPrev) {
- GrAssert(fHead != strike);
+ SkASSERT(fHead != strike);
strike->fPrev->fNext = strike->fNext;
} else {
- GrAssert(fHead == strike);
+ SkASSERT(fHead == strike);
fHead = strike->fNext;
}
if (strike->fNext) {
- GrAssert(fTail != strike);
+ SkASSERT(fTail != strike);
strike->fNext->fPrev = strike->fPrev;
} else {
- GrAssert(fTail == strike);
+ SkASSERT(fTail == strike);
fTail = strike->fPrev;
}
}
« no previous file with comments | « src/gpu/GrTextStrike.cpp ('k') | src/gpu/GrTexture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698