Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2166)

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_worker.cc

Issue 881203003: Suppress sequence checks in SyncFileSystem on the shutdown phase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +param comment Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/drive_backend/sync_worker.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
index 9ae8560cf196424a53f8b3f868dc439b9bc18409..e73ad16bd56cdb7ef5b9b75ad82aeff353d9ac43 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.cc
@@ -73,7 +73,8 @@ void SyncWorker::Initialize(scoped_ptr<SyncEngineContext> context) {
task_manager_.reset(new SyncTaskManager(
weak_ptr_factory_.GetWeakPtr(), 0 /* maximum_background_task */,
- context_->GetWorkerTaskRunner()));
+ context_->GetWorkerTaskRunner(),
+ context_->GetWorkerPool()));
task_manager_->Initialize(SYNC_STATUS_OK);
PostInitializeTask();

Powered by Google App Engine
This is Rietveld 408576698