Searched refs:SafeRef (Results 1 – 1 of 1) sorted by relevance
26 static inline T* SafeRef(T* obj) { in SafeRef() function49 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()));