Index: base/threading/worker_pool_posix.cc |
diff --git a/base/threading/worker_pool_posix.cc b/base/threading/worker_pool_posix.cc |
index 5aa50bab2992d4d4fdf3bfb15380e45f1fa15dee..32a5e92b91c7fa99f241ead417fcc231d70ca539 100644 |
--- a/base/threading/worker_pool_posix.cc |
+++ b/base/threading/worker_pool_posix.cc |
@@ -27,14 +27,6 @@ base::LazyInstance<ThreadLocalBoolean>::Leaky |
const int kIdleSecondsBeforeExit = 10 * 60; |
-#ifdef ADDRESS_SANITIZER |
-const int kWorkerThreadStackSize = 256 * 1024; |
-#else |
-// A stack size of 64 KB is too small for the CERT_PKIXVerifyCert |
-// function of NSS because of NSS bug 439169. |
-const int kWorkerThreadStackSize = 128 * 1024; |
-#endif |
- |
class WorkerPoolImpl { |
public: |
WorkerPoolImpl(); |
@@ -168,7 +160,7 @@ void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { |
// which will delete itself on exit. |
WorkerThread* worker = |
new WorkerThread(name_prefix_, this); |
- PlatformThread::CreateNonJoinable(kWorkerThreadStackSize, worker); |
+ PlatformThread::CreateNonJoinable(0, worker); |
} |
} |