Index: base/threading/platform_thread_win.cc |
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
index 80ce760dde29b15751859a14b6cb20e8d4e6ea67..6030992d68078a5baa98f93fe396c294eb2b9423 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,10 +99,8 @@ 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) { |
+ if (stack_size > 0) { |
flags = STACK_SIZE_PARAM_IS_A_RESERVATION; |
- } else { |
- stack_size = 0; |
} |
ThreadParams* params = new ThreadParams; |