Searched defs:SkSafeRef (Results 1 - 2 of 2) sorted by relevance

/external/skia/include/core/
H A DSkRefCnt.h182 template <typename T> static inline T* SkSafeRef(T* obj) { function
259 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {}
261 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {}
294 this->reset(SkSafeRef(that.get()));
299 this->reset(SkSafeRef(that.get()));
445 return sk_sp<T>(SkSafeRef(obj));
449 return sk_sp<T>(const_cast<T*>(SkSafeRef(obj)));
/external/skqp/include/core/
H A DSkRefCnt.h182 template <typename T> static inline T* SkSafeRef(T* obj) { function
259 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {}
261 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {}
294 this->reset(SkSafeRef(that.get()));
299 this->reset(SkSafeRef(that.get()));
445 return sk_sp<T>(SkSafeRef(obj));

Completed in 102 milliseconds