| Index: chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
|
| index 9efad0ee820cfb0200b33bfd558ec79374c11848..d53f78e55f751ed4cf2b9e59e8a0640bb7374d56 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/sync_task_token.cc
|
| @@ -65,7 +65,7 @@ SyncTaskToken::~SyncTaskToken() {
|
| // it must return the token to TaskManager.
|
| // Destroying a token with valid |client| indicates the token was
|
| // dropped by a task without returning.
|
| - if (task_runner_.get() && task_runner_->RunsTasksOnCurrentThread() &&
|
| + if (task_runner_.get() && task_runner_->RunsTasksInCurrentSequence() &&
|
| manager_ && manager_->IsRunningTask(token_id_)) {
|
| if (!manager_->ShouldTrackTaskToken())
|
| return;
|
|
|