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:
parent
fa1d4ea044
commit
68d6bb0c11
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user