aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-03-21 09:35:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-21 09:35:33 -0700
commit04cdc4b61879849df63e883e68eecafe6510f423 (patch)
tree87afc002470d53e6c2f37f7cdd7f428e0d81acc9 /include/private
parent3c481001b16288f604a5279bcb4bf46c5dd2b703 (diff)
Remove transitional explicit operator bool.
These should no longer be necessary. Android's STL should now be sane. TBR=reed This just removes code. Review URL: https://codereview.chromium.org/1817153002
Diffstat (limited to 'include/private')
-rw-r--r--include/private/SkTemplates.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/private/SkTemplates.h b/include/private/SkTemplates.h
index e8fbfd5a89..272b5856ad 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[]> {