| Index: base/threading/platform_thread_win.cc
|
| diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
|
| index aeaa7c7a720e70886a76bedad41c25be073b41df..4eb2cb2b33d38004952060a1658b02382e733818 100644
|
| --- a/base/threading/platform_thread_win.cc
|
| +++ b/base/threading/platform_thread_win.cc
|
| @@ -108,16 +108,15 @@
|
| // have to work running on CreateThread() threads anyway, since we run code
|
| // on the Windows thread pool, etc. For some background on the difference:
|
| // http://www.microsoft.com/msj/1099/win32/win321099.aspx
|
| - PlatformThreadId thread_id;
|
| void* thread_handle = CreateThread(
|
| - NULL, stack_size, ThreadFunc, params, flags, &thread_id);
|
| + NULL, stack_size, ThreadFunc, params, flags, NULL);
|
| if (!thread_handle) {
|
| delete params;
|
| return false;
|
| }
|
|
|
| if (out_thread_handle)
|
| - *out_thread_handle = PlatformThreadHandle(thread_handle, thread_id);
|
| + *out_thread_handle = PlatformThreadHandle(thread_handle);
|
| else
|
| CloseHandle(thread_handle);
|
| return true;
|
|
|