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

Unified Diff: src/gpu/GrGpuObject.cpp

Issue 413523002: Remove unused enum value and member of GrGpuObject (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 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 | « include/gpu/GrGpuObject.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpuObject.cpp
diff --git a/src/gpu/GrGpuObject.cpp b/src/gpu/GrGpuObject.cpp
index 43a86f2d51bace98a209eac9294e64f291191c5e..fff2a2fd8f2c94a898b1d76f7ca52b48ae7dc87e 100644
--- a/src/gpu/GrGpuObject.cpp
+++ b/src/gpu/GrGpuObject.cpp
@@ -12,7 +12,6 @@
GrGpuObject::GrGpuObject(GrGpu* gpu, bool isWrapped) {
fGpu = gpu;
- fDeferredRefCount = 0;
if (isWrapped) {
fFlags = kWrapped_FlagBit;
} else {
@@ -23,7 +22,6 @@ GrGpuObject::GrGpuObject(GrGpu* gpu, bool isWrapped) {
GrGpuObject::~GrGpuObject() {
// subclass should have released this.
- SkASSERT(0 == fDeferredRefCount);
SkASSERT(this->wasDestroyed());
}
« no previous file with comments | « include/gpu/GrGpuObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698