Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index 5452184793eab9c01f98f3ed1cf907d1b7203897..8473dd8d4273bfb7418c209d26bf210ac425bef9 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -11,16 +11,6 @@ |
#include "GrResourceCache2.h" |
#include "GrGpu.h" |
-template<typename D> GrIORef<D>::~GrIORef() { |
- SkASSERT(0 == fRefCnt); |
- SkASSERT(0 == fPendingReads); |
- SkASSERT(0 == fPendingWrites); |
- // Set to invalid values. |
- SkDEBUGCODE(fRefCnt = fPendingReads = fPendingWrites = -10;) |
-} |
- |
-/////////////////////////////////////////////////////////////////////////////// |
- |
static inline GrResourceCache2* get_resource_cache2(GrGpu* gpu) { |
SkASSERT(gpu); |
SkASSERT(gpu->getContext()); |