From 0d02a5f10d50dee16267a781ddb40aa2df47171f Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Mon, 26 Jan 2009 19:29:07 +0000 Subject: Add thread safety checks but keep them disabled for now until I fix all the current places where it triggers. Fix thread_collision_warner for real this (third?) time. Review URL: http://codereview.chromium.org/18569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8650 0039d316-1c4b-4281-b951-d872f2087c98 --- base/ref_counted.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'base/ref_counted.h') 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); }; -- cgit v1.1