Commneted out ShutdownSingleThreadedCleanup in debug builds to
suppress the TSan complaints. Enabled NonSearchToSearchDoesntSupportInstant
in intractive_ui_tests for Linux.

BUG=70810,61179
TEST=please test interactive_ui_tests.

Review URL: http://codereview.chromium.org/6546020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76430 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index ed629c3..ac492254f 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -643,13 +643,10 @@
 #ifndef NDEBUG
     if (state_ != kRunning)
       return;
-    // Don't call these in a Release build: they just waste time.
-    // The following should ONLY be called when in single threaded mode. It is
-    // unsafe to do this cleanup if other threads are still active.
-    // It is also very unnecessary, so I'm only doing this in debug to satisfy
-    // purify (if we need to!).
-    ThreadData::ShutdownSingleThreadedCleanup();
-    state_ = kTornDownAndStopped;
+    // We don't do cleanup of any sort in Release build because it is a
+    // complete waste of time.  Since Chromium doesn't join all its thread and
+    // guarantee we're in a single threaded mode, we don't even do cleanup in
+    // debug mode, as it will generate race-checker warnings.
 #endif
   }