Home
last modified time | relevance | path

Searched refs:SafeRef (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/gpu/
DGrRefCnt.h26 static inline T* SafeRef(T* obj) { in SafeRef() function
49 gr_sp(const gr_sp& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
54 gr_sp(const gr_sp<U, URefBase, UUnrefBase, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
56 gr_sp(const sk_sp<T>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
70 gr_sp(sk_sp<T>&& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
97 this->reset(SafeRef(that.get()));
108 this->reset(SafeRef(that.get()));
128 this->reset(SafeRef(that.get()));