Index: chrome/browser/sync/glue/history_model_worker.cc |
diff --git a/chrome/browser/sync/glue/history_model_worker.cc b/chrome/browser/sync/glue/history_model_worker.cc |
index d9f87549b2b5ecb80a3ace880740cf04d1f10401..eb00c926752fe24f8333bcccca122402bda80c49 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(); |
} |