| 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 590e9a808ace07bed7d2735aa6d14ebc1e697343..b4d58bf862d2713c45ebfbb6ef3a6333a88c6878 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
|
| @@ -70,6 +70,9 @@ SyncTaskToken::~SyncTaskToken() {
|
| // dropped by a task without returning.
|
| if (task_runner_.get() && task_runner_->RunsTasksOnCurrentThread() &&
|
| manager_ && manager_->IsRunningTask(token_id_)) {
|
| + if (!manager_->ShouldTrackTaskToken())
|
| + return;
|
| +
|
| NOTREACHED()
|
| << "Unexpected TaskToken deletion from: " << location_.ToString();
|
|
|
|
|