revert prev change to reset

git-svn-id: http://skia.googlecode.com/svn/trunk@6571 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2012-11-27 18:37:52 +00:00
parent fa1d4ea044
commit 68d6bb0c11

View File

@ -155,10 +155,8 @@ public:
T* get() const { return fObj; }
void reset(T* obj) {
if (obj != fObj) {
SkSafeUnref(fObj);
fObj = obj;
}
SkSafeUnref(fObj);
fObj = obj;
}
void swap(SkAutoTUnref* other) {