summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/public/engine/passive_model_worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sync/internal_api/public/engine/passive_model_worker.cc')
-rw-r--r--sync/internal_api/public/engine/passive_model_worker.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/sync/internal_api/public/engine/passive_model_worker.cc b/sync/internal_api/public/engine/passive_model_worker.cc
index 3117194..c903929 100644
--- a/sync/internal_api/public/engine/passive_model_worker.cc
+++ b/sync/internal_api/public/engine/passive_model_worker.cc
@@ -8,11 +8,8 @@
namespace syncer {
-PassiveModelWorker::PassiveModelWorker(const base::MessageLoop* sync_loop,
- WorkerLoopDestructionObserver* observer)
- : ModelSafeWorker(observer),
- sync_loop_(sync_loop) {
-}
+PassiveModelWorker::PassiveModelWorker(WorkerLoopDestructionObserver* observer)
+ : ModelSafeWorker(observer) {}
PassiveModelWorker::~PassiveModelWorker() {
}
@@ -23,7 +20,6 @@ void PassiveModelWorker::RegisterForLoopDestruction() {
SyncerError PassiveModelWorker::DoWorkAndWaitUntilDoneImpl(
const WorkCallback& work) {
- DCHECK_EQ(base::MessageLoop::current(), sync_loop_);
// Simply do the work on the current thread.
return work.Run();
}