| Index: include/core/SkRefCnt.h
|
| diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
|
| index ce8662b6e38b76ab6bd147b378e24f3739ca7b69..46d475e5e48eabffe3e3b071bdbaf491d30868ea 100644
|
| --- a/include/core/SkRefCnt.h
|
| +++ b/include/core/SkRefCnt.h
|
| @@ -200,10 +200,6 @@ public:
|
| // Need to update graphics/Shader.cpp.
|
| T* detach() { return this->release(); }
|
| #endif
|
| -
|
| - // Android's std::unique_ptr's operator bool() is sometimes not explicit...
|
| - // so override it with our own explcitly explicit version.
|
| - explicit operator bool() const { return this->get() != nullptr; }
|
| };
|
| // Can't use the #define trick below to guard a bare SkAutoTUnref(...) because it's templated. :(
|
|
|
|
|