| Index: include/core/SkRefCnt.h
|
| diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
|
| index d18a63a49ffdc63e978b4a993ecd497f4a093caf..98e521f6ea0bede93f7bd6d10c7031b76f3345fc 100644
|
| --- a/include/core/SkRefCnt.h
|
| +++ b/include/core/SkRefCnt.h
|
| @@ -194,7 +194,6 @@ template <typename T> class SkAutoTUnref : public std::unique_ptr<T, SkTUnref<T>
|
| public:
|
| explicit SkAutoTUnref(T* obj = nullptr) : std::unique_ptr<T, SkTUnref<T>>(obj) {}
|
|
|
| - T* detach() { return this->release(); }
|
| operator T*() const { return this->get(); }
|
|
|
| // Android's std::unique_ptr's operator bool() is sometimes not explicit...
|
|
|