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

Unified Diff: components/sync/driver/glue/ui_model_worker_unittest.cc

Issue 2471183003: Do not observe MessageLoop destruction from ModelSafeWorker. (Closed)
Patch Set: CR maxbogue #23 Created 4 years, 1 month 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/driver/glue/ui_model_worker.cc ('k') | components/sync/driver/sync_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/glue/ui_model_worker_unittest.cc
diff --git a/components/sync/driver/glue/ui_model_worker_unittest.cc b/components/sync/driver/glue/ui_model_worker_unittest.cc
index 2c83554c25b8938b46499edbfca9a60610d8a873..d091f317a5c60f2896c0a05ec84abbea9095a730 100644
--- a/components/sync/driver/glue/ui_model_worker_unittest.cc
+++ b/components/sync/driver/glue/ui_model_worker_unittest.cc
@@ -36,7 +36,7 @@ class SyncUIModelWorkerTest : public testing::Test {
public:
SyncUIModelWorkerTest() : sync_thread_("SyncThreadForTest") {
sync_thread_.Start();
- worker_ = new UIModelWorker(base::ThreadTaskRunnerHandle::Get(), nullptr);
+ worker_ = new UIModelWorker(base::ThreadTaskRunnerHandle::Get());
}
void PostWorkToSyncThread(WorkCallback work) {
« no previous file with comments | « components/sync/driver/glue/ui_model_worker.cc ('k') | components/sync/driver/sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698