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

Unified Diff: src/gpu/gl/debug/GrDebugGL.cpp

Issue 1139803003: Remove high ref count tracker from GrFakeRefObj (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | src/gpu/gl/debug/GrFakeRefObj.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/debug/GrDebugGL.cpp
diff --git a/src/gpu/gl/debug/GrDebugGL.cpp b/src/gpu/gl/debug/GrDebugGL.cpp
index e5b00c10c1281f74094dff88f6676b129472555c..ad06862bd7ea5c0fc4d326524757c3a07f596be7 100644
--- a/src/gpu/gl/debug/GrDebugGL.cpp
+++ b/src/gpu/gl/debug/GrDebugGL.cpp
@@ -205,7 +205,6 @@ void GrDebugGL::useProgram(GrProgramObj *program) {
void GrDebugGL::report() const {
for (int i = 0; i < fObjects.count(); ++i) {
- GrAlwaysAssert(0 < fObjects[i]->getHighRefCount());
if (!fAbandoned) {
GrAlwaysAssert(0 == fObjects[i]->getRefCount());
GrAlwaysAssert(fObjects[i]->getDeleted());
« no previous file with comments | « no previous file | src/gpu/gl/debug/GrFakeRefObj.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698