diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 20:29:43 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 20:29:43 +0000 |
commit | de834152c917dce0e7c74a7c62dac5506f6b0260 (patch) | |
tree | ae14249667f3d16113b34f3f23da5d68c6b0957a /base/ref_counted.cc | |
parent | b49a99cebf7966e4de7a8357b5a759d97ad8e226 (diff) | |
download | chromium_src-de834152c917dce0e7c74a7c62dac5506f6b0260.zip chromium_src-de834152c917dce0e7c74a7c62dac5506f6b0260.tar.gz chromium_src-de834152c917dce0e7c74a7c62dac5506f6b0260.tar.bz2 |
Reverting 8499.
Review URL: http://codereview.chromium.org/18687
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/ref_counted.cc')
-rw-r--r-- | base/ref_counted.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/base/ref_counted.cc b/base/ref_counted.cc index 597c92c..dfb3698 100644 --- a/base/ref_counted.cc +++ b/base/ref_counted.cc @@ -5,7 +5,6 @@ #include "base/ref_counted.h" #include "base/logging.h" -#include "base/thread_collision_warner.h" namespace base { @@ -24,9 +23,6 @@ RefCountedBase::~RefCountedBase() { } void RefCountedBase::AddRef() { - // TODO(maruel): Add back once it doesn't assert 500 times/sec. - // Current thread books the critical section "AddRelease" without release it. - // DFAKE_SCOPED_LOCK_THREAD_LOCKED(add_release_); #ifndef NDEBUG DCHECK(!in_dtor_); #endif @@ -34,9 +30,6 @@ void RefCountedBase::AddRef() { } bool RefCountedBase::Release() { - // TODO(maruel): Add back once it doesn't assert 500 times/sec. - // Current thread books the critical section "AddRelease" without release it. - // DFAKE_SCOPED_LOCK_THREAD_LOCKED(add_release_); #ifndef NDEBUG DCHECK(!in_dtor_); #endif |