diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 20:11:02 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 20:11:02 +0000 |
commit | 9239781f12f6360c6c03ae01dd36a122def7887f (patch) | |
tree | 24269716be1ed13d4c011488a0ac5ee36ca871b1 /base/ref_counted.h | |
parent | 5bfafb06880152214274bb43ee82dd1ea2edfdb2 (diff) | |
download | chromium_src-9239781f12f6360c6c03ae01dd36a122def7887f.zip chromium_src-9239781f12f6360c6c03ae01dd36a122def7887f.tar.gz chromium_src-9239781f12f6360c6c03ae01dd36a122def7887f.tar.bz2 |
Add (currently disabled) RefCountedBase check. (2nd try)
Review URL: http://codereview.chromium.org/18438
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/ref_counted.h')
-rw-r--r-- | base/ref_counted.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/ref_counted.h b/base/ref_counted.h index 2268808..853fa90 100644 --- a/base/ref_counted.h +++ b/base/ref_counted.h @@ -7,6 +7,7 @@ #include "base/atomic_ref_count.h" #include "base/basictypes.h" +#include "base/thread_collision_warner.h" namespace base { @@ -28,6 +29,8 @@ class RefCountedBase { bool in_dtor_; #endif + DFAKE_MUTEX(add_release_); + DISALLOW_COPY_AND_ASSIGN(RefCountedBase); }; |