summaryrefslogtreecommitdiffstats
path: root/base/tracked_objects.cc
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 15:25:56 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 15:25:56 +0000
commita21643a4c0c76665b8820caf3103e0d8309ac094 (patch)
tree289944a26d27cafb8e1a91013b6cd4f6400cd6d0 /base/tracked_objects.cc
parent517d1ccd28095c20530c0f91491c69e87df0dfea (diff)
downloadchromium_src-a21643a4c0c76665b8820caf3103e0d8309ac094.zip
chromium_src-a21643a4c0c76665b8820caf3103e0d8309ac094.tar.gz
chromium_src-a21643a4c0c76665b8820caf3103e0d8309ac094.tar.bz2
Revert 107940 - Remove DCHECK that tickles TLS during shutdown
Repair busted tree. TBR=rtenneti Review URL: http://codereview.chromium.org/8425013 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/8430002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r--base/tracked_objects.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index aba051ca..568fc41 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -207,6 +207,7 @@ void ThreadData::OnThreadTermination(void* thread_data) {
if (!thread_data)
return;
reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup();
+ DCHECK_EQ(tls_index_.Get(), reinterpret_cast<ThreadData*>(NULL));
}
void ThreadData::OnThreadTerminationCleanup() const {