Index: components/browsing_data_ui/history_notice_utils.cc |
diff --git a/components/browsing_data_ui/history_notice_utils.cc b/components/browsing_data_ui/history_notice_utils.cc |
index 6a54c26d407457b4c1ab2892112874101d7149a3..15f20beba44d2b01e1cb91ae329b84394a803848 100644 |
--- a/components/browsing_data_ui/history_notice_utils.cc |
+++ b/components/browsing_data_ui/history_notice_utils.cc |
@@ -6,8 +6,10 @@ |
#include "base/bind.h" |
#include "base/callback.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/strings/stringprintf.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "components/history/core/browser/web_history_service.h" |
#include "components/sync_driver/sync_service.h" |
#include "components/version_info/version_info.h" |
@@ -37,7 +39,7 @@ class MergeBooleanCallbacks { |
return; |
target_callback_.Run(final_response_); |
- base::MessageLoop::current()->DeleteSoon(FROM_HERE, this); |
+ base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
} |
private: |