| Index: components/history/core/browser/history_service.cc
|
| diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc
|
| index 6ed1bfda31fb1c183cef9ea7812f4fd11ae47e54..c7f0e7fb79faa976be11be0c282cea587b998f43 100644
|
| --- a/components/history/core/browser/history_service.cc
|
| +++ b/components/history/core/browser/history_service.cc
|
| @@ -848,7 +848,7 @@ void HistoryService::Cleanup() {
|
| closing_task.Reset();
|
| HistoryBackend* raw_ptr = history_backend_.get();
|
| history_backend_ = nullptr;
|
| - thread_->message_loop()->ReleaseSoon(FROM_HERE, raw_ptr);
|
| + thread_->task_runner()->ReleaseSoon(FROM_HERE, raw_ptr);
|
| }
|
|
|
| // Delete the thread, which joins with the background thread. We defensively
|
|
|