| Index: base/threading/sequenced_worker_pool.cc
|
| diff --git a/base/threading/sequenced_worker_pool.cc b/base/threading/sequenced_worker_pool.cc
|
| index e90196913f3324140f9967b708b15d10260b6856..8435a02f1d9488e6184b63965b7d075bdb2d0fb1 100644
|
| --- a/base/threading/sequenced_worker_pool.cc
|
| +++ b/base/threading/sequenced_worker_pool.cc
|
| @@ -246,14 +246,6 @@
|
| is_processing_task_ = true;
|
| task_sequence_token_ = token;
|
| task_shutdown_behavior_ = shutdown_behavior;
|
| -
|
| - // It is dangerous for tasks with CONTINUE_ON_SHUTDOWN to access a class
|
| - // that implements a non-leaky base::Singleton because they are generally
|
| - // destroyed before the process terminates via an AtExitManager
|
| - // registration. This will trigger a DCHECK to warn of such cases. See the
|
| - // comment about CONTINUE_ON_SHUTDOWN for more details.
|
| - ThreadRestrictions::SetSingletonAllowed(task_shutdown_behavior_ !=
|
| - CONTINUE_ON_SHUTDOWN);
|
| }
|
|
|
| // Indicates that the task has finished running.
|
|
|