Index: include/private/SkTemplates.h |
diff --git a/include/private/SkTemplates.h b/include/private/SkTemplates.h |
index e8fbfd5a893ae388ad5bb59a178ee110882025a8..272b5856ad117493be98ee42bcc3b94a5fba4b01 100644 |
--- a/include/private/SkTemplates.h |
+++ b/include/private/SkTemplates.h |
@@ -101,9 +101,6 @@ public: |
// Need to update graphics/BitmapRegionDecoder.cpp. |
T* detach() { return this->release(); } |
#endif |
- |
- // See SkAutoTUnref for why we do this. |
- explicit operator bool() const { return this->get() != nullptr; } |
}; |
template <typename T> class SkAutoTDeleteArray : public std::unique_ptr<T[]> { |