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

Unified Diff: components/sync/engine/ui_model_worker_unittest.cc

Issue 2782573002: [Sync] Refactor ModelSafeWorker::DoWorkAndWaitUntilDone() to avoid code duplication. (Closed)
Patch Set: self-review Created 3 years, 8 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
« no previous file with comments | « components/sync/engine/ui_model_worker.cc ('k') | components/sync/engine_impl/directory_update_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/ui_model_worker_unittest.cc
diff --git a/components/sync/engine/ui_model_worker_unittest.cc b/components/sync/engine/ui_model_worker_unittest.cc
index 9411a67ade0843bf596584f8e4ba8275e86ff413..ab27452d1bc1de036a008c091a2ea2e49401cd00 100644
--- a/components/sync/engine/ui_model_worker_unittest.cc
+++ b/components/sync/engine/ui_model_worker_unittest.cc
@@ -52,7 +52,7 @@ class SyncUIModelWorkerTest : public testing::Test {
sync_thread_.task_runner()->PostTask(
FROM_HERE,
base::Bind(base::IgnoreResult(&UIModelWorker::DoWorkAndWaitUntilDone),
- worker_, ClosureToWorkCallback(work)));
+ worker_, base::Passed(ClosureToWorkCallback(work))));
}
protected:
« no previous file with comments | « components/sync/engine/ui_model_worker.cc ('k') | components/sync/engine_impl/directory_update_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698