Index: base/threading/platform_thread_win.cc |
diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
index 6030992d68078a5baa98f93fe396c294eb2b9423..76941c81d360ed780814da48a7d31b5ed2095ea3 100644 |
--- a/base/threading/platform_thread_win.cc |
+++ b/base/threading/platform_thread_win.cc |
@@ -196,8 +196,16 @@ bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, |
// static |
bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { |
- return CreateThreadInternal(stack_size, delegate, nullptr, |
- ThreadPriority::NORMAL); |
+ return CreateNonJoinableWithPriority(stack_size, delegate, |
+ ThreadPriority::NORMAL); |
+} |
+ |
+// static |
+bool PlatformThread::CreateNonJoinableWithPriority(size_t stack_size, |
+ Delegate* delegate, |
+ ThreadPriority priority) { |
+ return CreateThreadInternal(stack_size, delegate, nullptr /* non-joinable */, |
+ priority); |
} |
// static |