Lines Matching refs:WeakReference
10 WeakReference::Flag::Flag(Flag** handle) : handle_(handle) { in Flag()
13 void WeakReference::Flag::Invalidate() { in Invalidate()
18 bool WeakReference::Flag::IsValid() const { in IsValid()
23 WeakReference::Flag::~Flag() { in ~Flag()
28 WeakReference::WeakReference() { in WeakReference() function in base::internal::WeakReference
31 WeakReference::WeakReference(Flag* flag) : flag_(flag) { in WeakReference() function in base::internal::WeakReference
34 WeakReference::~WeakReference() { in ~WeakReference()
37 bool WeakReference::is_valid() const { in is_valid()
48 WeakReference WeakReferenceOwner::GetRef() const { in GetRef()
50 flag_ = new WeakReference::Flag(&flag_); in GetRef()
51 return WeakReference(flag_); in GetRef()
67 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { in WeakPtrBase()