| Index: components/keyed_service/core/refcounted_keyed_service.cc
|
| diff --git a/components/keyed_service/core/refcounted_keyed_service.cc b/components/keyed_service/core/refcounted_keyed_service.cc
|
| index 04a1ea572889ff96ffff4721e8e794a5369efdf5..e6c449fe587ea5ccf3a865f72c075da9f45f454c 100644
|
| --- a/components/keyed_service/core/refcounted_keyed_service.cc
|
| +++ b/components/keyed_service/core/refcounted_keyed_service.cc
|
| @@ -10,7 +10,7 @@ namespace impl {
|
|
|
| // static
|
| void RefcountedKeyedServiceTraits::Destruct(const RefcountedKeyedService* obj) {
|
| - if (obj->task_runner_ && !obj->task_runner_->RunsTasksOnCurrentThread()) {
|
| + if (obj->task_runner_ && !obj->task_runner_->RunsTasksInCurrentSequence()) {
|
| obj->task_runner_->DeleteSoon(FROM_HERE, obj);
|
| } else {
|
| delete obj;
|
|
|