summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 01:36:21 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 01:36:21 +0000
commitc4ed802942d46ce11a6d8728bb7b02110e6076a8 (patch)
tree2437201c6d79cefe4e1dc8d4526d51d40034d5e9 /base/threading
parent8e3e6fd0003787bbf4041b2904581b36cefd5a8e (diff)
downloadchromium_src-c4ed802942d46ce11a6d8728bb7b02110e6076a8.zip
chromium_src-c4ed802942d46ce11a6d8728bb7b02110e6076a8.tar.gz
chromium_src-c4ed802942d46ce11a6d8728bb7b02110e6076a8.tar.bz2
Cleanup code used to diagnose and fix bug 81449.
I think it is unlikely that CloseHandle was the function that was being hooked because it is called from so many other places without problems. I am assuming that TerminateProcess was being hooked. If the symptoms of 81449 return when this is landed, this patch can be reverted. BUG=81449 Review URL: http://codereview.chromium.org/7624052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97407 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading')
-rw-r--r--base/threading/platform_thread_win.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
index f5c6176..d5e64c1 100644
--- a/base/threading/platform_thread_win.cc
+++ b/base/threading/platform_thread_win.cc
@@ -34,14 +34,6 @@ struct ThreadParams {
};
DWORD __stdcall ThreadFunc(void* params) {
- // TODO(apatrick): Remove this ASAP. This ensures that if the
- // TerminateProcess entry point has been patched to point into a third party
- // DLL, this is visible on the stack and the DLL in question can be
- // determined.
- typedef BOOL (WINAPI *TerminateProcessPtr)(HANDLE, UINT);
- TerminateProcessPtr terminate_process = TerminateProcess;
- base::debug::Alias(&terminate_process);
-
ThreadParams* thread_params = static_cast<ThreadParams*>(params);
PlatformThread::Delegate* delegate = thread_params->delegate;
if (!thread_params->joinable)