Index: include/core/SkRefCnt.h |
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h |
index 1724c77d8dc3b136d23915a886b820a3379f36d6..9e3a92eb9ac836af538eddcb8b02cc4fb4128a65 100644 |
--- a/include/core/SkRefCnt.h |
+++ b/include/core/SkRefCnt.h |
@@ -248,15 +248,6 @@ public: |
}; |
#define SkAutoUnref(...) SK_REQUIRE_LOCAL_VAR(SkAutoUnref) |
-class SkAutoRef : SkNoncopyable { |
-public: |
- SkAutoRef(SkRefCnt* obj) : fObj(obj) { SkSafeRef(obj); } |
- ~SkAutoRef() { SkSafeUnref(fObj); } |
-private: |
- SkRefCnt* fObj; |
-}; |
-#define SkAutoRef(...) SK_REQUIRE_LOCAL_VAR(SkAutoRef) |
- |
/** Wrapper class for SkRefCnt pointers. This manages ref/unref of a pointer to |
a SkRefCnt (or subclass) object. |
*/ |