Index: base/synchronization/waitable_event_watcher_posix.cc |
diff --git a/base/synchronization/waitable_event_watcher_posix.cc b/base/synchronization/waitable_event_watcher_posix.cc |
index 3b0ba70c22b481891d49dea8b3f9437b0ae17084..147cddacba5e2c0fc93139180ae5c408d55f62cf 100644 |
--- a/base/synchronization/waitable_event_watcher_posix.cc |
+++ b/base/synchronization/waitable_event_watcher_posix.cc |
@@ -43,6 +43,9 @@ class Flag : public RefCountedThreadSafe<Flag> { |
} |
private: |
+ friend class RefCountedThreadSafe<Flag>; |
+ virtual ~Flag() {} |
jar (doing other things)
2012/04/05 23:04:59
Why bother saying virtual here? You didn't bother
|
+ |
mutable Lock lock_; |
bool flag_; |
}; |