summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/glue/history_model_worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/glue/history_model_worker.cc')
-rw-r--r--chrome/browser/sync/glue/history_model_worker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/sync/glue/history_model_worker.cc b/chrome/browser/sync/glue/history_model_worker.cc
index d9f8754..eb00c92 100644
--- a/chrome/browser/sync/glue/history_model_worker.cc
+++ b/chrome/browser/sync/glue/history_model_worker.cc
@@ -100,6 +100,7 @@ void HistoryModelWorker::RegisterForLoopDestruction() {
}
void HistoryModelWorker::RegisterOnDBThread() {
+ base::MessageLoop::current()->AddDestructionObserver(this);
SetWorkingLoopToCurrent();
}