Chromium Code Reviews| Index: base/threading/platform_thread_win.cc |
| diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
| index eae236634d1d9f98618d53508af11208ad0b6781..50c4d1e0ef3b1fe6ada2e45a374d1fa0c23862fe 100644 |
| --- a/base/threading/platform_thread_win.cc |
| +++ b/base/threading/platform_thread_win.cc |
| @@ -13,7 +13,6 @@ |
| #include "base/threading/thread_restrictions.h" |
| #include "base/tracked_objects.h" |
| #include "base/win/scoped_handle.h" |
| -#include "base/win/windows_version.h" |
| namespace base { |
| @@ -100,7 +99,7 @@ bool CreateThreadInternal(size_t stack_size, |
| PlatformThreadHandle* out_thread_handle, |
| ThreadPriority priority) { |
| unsigned int flags = 0; |
| - if (stack_size > 0 && base::win::GetVersion() >= base::win::VERSION_XP) { |
|
grt (UTC plus 2)
2016/06/10 14:20:00
yay!
ananta
2016/06/10 18:29:57
Yeah. Harmless line of code which pulled in user32
|
| + if (stack_size > 0) { |
| flags = STACK_SIZE_PARAM_IS_A_RESERVATION; |
| } else { |
| stack_size = 0; |