| Index: base/threading/platform_thread_win.cc
|
| diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
|
| index 230178d646bf61543235560486fcda4cc7e42c6f..f4881449d5d67d3f64b03893ff5587f8f82cb72a 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
|
|
|