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

Unified Diff: src/gpu/GrResource.cpp

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/GrRedBlackTree.h ('k') | src/gpu/GrResourceCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrResource.cpp
diff --git a/src/gpu/GrResource.cpp b/src/gpu/GrResource.cpp
index 8fb21e8879f125f12b138a242157d77ecfbab02d..91ffe79ceb336f8256b0c233fc9e0da148e96939 100644
--- a/src/gpu/GrResource.cpp
+++ b/src/gpu/GrResource.cpp
@@ -26,8 +26,8 @@ GrResource::GrResource(GrGpu* gpu, bool isWrapped) {
GrResource::~GrResource() {
// subclass should have released this.
- GrAssert(0 == fDeferredRefCount);
- GrAssert(!this->isValid());
+ SkASSERT(0 == fDeferredRefCount);
+ SkASSERT(!this->isValid());
}
void GrResource::release() {
« no previous file with comments | « src/gpu/GrRedBlackTree.h ('k') | src/gpu/GrResourceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698