Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: base/tracked_objects.cc

Issue 8550009: Provide DllMain, and hook to support TLS callbacks. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/tracked_objects.cc
===================================================================
--- base/tracked_objects.cc (revision 112058)
+++ base/tracked_objects.cc (working copy)
@@ -228,8 +228,6 @@
// that the allocator is no longer active on this thread.
if (!kTrackAllTaskObjects)
return; // Not compiled in.
- if (!thread_data)
- return;
reinterpret_cast<ThreadData*>(thread_data)->OnThreadTerminationCleanup();
}
@@ -525,7 +523,6 @@
// Verify that we've at least shutdown/cleanup the major namesd threads. The
// caller should tell us how many thread shutdowns should have taken place by
// now.
- return; // TODO(jar): until this is working on XP, don't run the real test.
CHECK_GT(cleanup_count_, major_threads_shutdown_count);
}

Powered by Google App Engine
This is Rietveld 408576698