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

Unified Diff: src/gpu/GrPlotMgr.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/GrPathUtils.cpp ('k') | src/gpu/GrRectanizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPlotMgr.h
diff --git a/src/gpu/GrPlotMgr.h b/src/gpu/GrPlotMgr.h
index 4f79a2135ef19548aa34e75c068f3623bf036a85..1fdfa1ffb99adaf74c99105d9555cc2c5dc441b2 100644
--- a/src/gpu/GrPlotMgr.h
+++ b/src/gpu/GrPlotMgr.h
@@ -53,14 +53,14 @@ public:
}
bool isBusy(int x, int y) const {
- GrAssert((unsigned)x < (unsigned)fDim.fX);
- GrAssert((unsigned)y < (unsigned)fDim.fY);
+ SkASSERT((unsigned)x < (unsigned)fDim.fX);
+ SkASSERT((unsigned)y < (unsigned)fDim.fY);
return fBusy[y * fDim.fX + x] != 0;
}
void freePlot(int x, int y) {
- GrAssert((unsigned)x < (unsigned)fDim.fX);
- GrAssert((unsigned)y < (unsigned)fDim.fY);
+ SkASSERT((unsigned)x < (unsigned)fDim.fX);
+ SkASSERT((unsigned)y < (unsigned)fDim.fY);
fBusy[y * fDim.fX + x] = false;
}
« no previous file with comments | « src/gpu/GrPathUtils.cpp ('k') | src/gpu/GrRectanizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698