aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPtrRecorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPtrRecorder.h')
-rw-r--r--include/core/SkPtrRecorder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/core/SkPtrRecorder.h b/include/core/SkPtrRecorder.h
index db6c64dfdf..fa87243e52 100644
--- a/include/core/SkPtrRecorder.h
+++ b/include/core/SkPtrRecorder.h
@@ -89,10 +89,13 @@ private:
*/
template <typename T> class SkTPtrSet : public SkPtrSet {
public:
+ uint32_t find(T ptr) {
+ return this->INHERITED::find((void*)ptr);
+ }
uint32_t add(T ptr) {
return this->INHERITED::add((void*)ptr);
}
-
+
void copyToArray(T* array) const {
this->INHERITED::copyToArray((void**)array);
}