Home | History | Annotate | Download | only in memory

Lines Matching refs:Flag

10 WeakReference::Flag::Flag() : is_valid_(true) {
13 // the same Flag take place on the same sequenced thread.
17 void WeakReference::Flag::Invalidate() {
18 // The flag being invalidated with a single ref implies that there are no
25 bool WeakReference::Flag::IsValid() const {
31 WeakReference::Flag::~Flag() {
37 WeakReference::WeakReference(const Flag* flag) : flag_(flag) {
57 // If we hold the last reference to the Flag then create a new one.
59 flag_ = new WeakReference::Flag();