Index: include/gpu/GrGpuObject.h |
diff --git a/include/gpu/GrGpuObject.h b/include/gpu/GrGpuObject.h |
index 72d2f892be900a0db02e383c26cd85465c878220..859b8b015e555cc7e0979e67a1a269bcabf897eb 100644 |
--- a/include/gpu/GrGpuObject.h |
+++ b/include/gpu/GrGpuObject.h |
@@ -54,24 +54,6 @@ public: |
const GrContext* getContext() const; |
GrContext* getContext(); |
- void incDeferredRefCount() const { |
- SkASSERT(fDeferredRefCount >= 0); |
- ++fDeferredRefCount; |
- } |
- |
- void decDeferredRefCount() const { |
- SkASSERT(fDeferredRefCount > 0); |
- --fDeferredRefCount; |
- if (0 == fDeferredRefCount && this->needsDeferredUnref()) { |
- SkASSERT(this->getRefCnt() > 1); |
- this->unref(); |
- } |
- } |
- |
- int getDeferredRefCount() const { return fDeferredRefCount; } |
- |
- void setNeedsDeferredUnref() { fFlags |= kDeferredUnref_FlagBit; } |
- |
virtual bool isValidOnGpu() const SK_OVERRIDE { return !this->wasDestroyed(); } |
protected: |