| Index: chrome/browser/sync/glue/ui_model_worker.cc
|
| diff --git a/chrome/browser/sync/glue/ui_model_worker.cc b/chrome/browser/sync/glue/ui_model_worker.cc
|
| index 726deb6dfc70e4060f2c3e1294a4c4d1499f04f9..2d8bc7d1435d9a875d34e0cf7bb27b9151df9407 100644
|
| --- a/chrome/browser/sync/glue/ui_model_worker.cc
|
| +++ b/chrome/browser/sync/glue/ui_model_worker.cc
|
| @@ -47,6 +47,7 @@ UIModelWorker::UIModelWorker(syncer::WorkerLoopDestructionObserver* observer)
|
|
|
| void UIModelWorker::RegisterForLoopDestruction() {
|
| CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| + base::MessageLoop::current()->AddDestructionObserver(this);
|
| SetWorkingLoopToCurrent();
|
| }
|
|
|
|
|