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

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

Issue 2889683003: Rename TaskRunner::RunsTasksOnCurrentThread() in //components (Closed)
Patch Set: rebase Created 3 years, 6 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/driver/shared_change_processor.cc ('k') | components/timers/alarm_timer_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/fake_sync_manager.cc
diff --git a/components/sync/engine/fake_sync_manager.cc b/components/sync/engine/fake_sync_manager.cc
index 2d985b013ddf3bcc75b7377e4312c6f2bb7c78c9..13413b4e8a1842cdb8abdb16b413783cbdc8e6d9 100644
--- a/components/sync/engine/fake_sync_manager.cc
+++ b/components/sync/engine/fake_sync_manager.cc
@@ -190,7 +190,7 @@ void FakeSyncManager::SaveChanges() {
}
void FakeSyncManager::ShutdownOnSyncThread(ShutdownReason reason) {
- DCHECK(sync_task_runner_->RunsTasksOnCurrentThread());
+ DCHECK(sync_task_runner_->RunsTasksInCurrentSequence());
test_user_share_.TearDown();
}
« no previous file with comments | « components/sync/driver/shared_change_processor.cc ('k') | components/timers/alarm_timer_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698