Home | History | Annotate | Download | only in memory

Lines Matching full:weakreference

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