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()); |
} |