Index: include/core/SkRefCnt.h |
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h |
index d3a26df4d502d7db96e6765fb348467283478920..1724c77d8dc3b136d23915a886b820a3379f36d6 100644 |
--- a/include/core/SkRefCnt.h |
+++ b/include/core/SkRefCnt.h |
@@ -42,10 +42,8 @@ public: |
#endif |
} |
-#ifdef SK_DEBUG |
/** Return the reference count. Use only for debugging. */ |
int32_t getRefCnt() const { return fRefCnt; } |
-#endif |
/** May return true if the caller is the only owner. |
* Ensures that all previous owner's actions are complete. |
@@ -120,9 +118,6 @@ private: |
mutable int32_t fRefCnt; |
- // Used by tests. |
- friend bool RefCntIs(const SkRefCntBase&, int32_t); |
- |
typedef SkNoncopyable INHERITED; |
}; |