Index: base/test/run_all_unittests.cc |
diff --git a/base/test/run_all_unittests.cc b/base/test/run_all_unittests.cc |
index 84e6d3f9dae55f6b48a8b7aa6890c18a8eb4e453..e5c59752cdd4223085d8f5c89a0b4c4a39655c22 100644 |
--- a/base/test/run_all_unittests.cc |
+++ b/base/test/run_all_unittests.cc |
@@ -11,24 +11,13 @@ |
#include "base/test/test_file_util.h" |
#endif |
-#if defined(OS_WIN) |
-#include "base/debug/close_handle_hook_win.h" |
-#endif |
- |
int main(int argc, char** argv) { |
#if defined(OS_ANDROID) |
JNIEnv* env = base::android::AttachCurrentThread(); |
base::RegisterContentUriTestUtils(env); |
#endif |
base::TestSuite test_suite(argc, argv); |
-#if defined(OS_WIN) |
- base::debug::InstallHandleHooks(); |
-#endif |
- int ret = base::LaunchUnitTests( |
+ return base::LaunchUnitTests( |
argc, argv, |
base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); |
-#if defined(OS_WIN) |
- base::debug::RemoveHandleHooks(); |
-#endif |
- return ret; |
} |