Index: chrome/browser/infobars/infobar_responder.cc |
diff --git a/chrome/browser/infobars/infobar_responder.cc b/chrome/browser/infobars/infobar_responder.cc |
index 4fc225ec2713a4d3aa8a91b32cc8dc62290fbdf4..8f8cca5169432e8360cb94a077d1e1357861bc84 100644 |
--- a/chrome/browser/infobars/infobar_responder.cc |
+++ b/chrome/browser/infobars/infobar_responder.cc |
@@ -5,7 +5,9 @@ |
#include "chrome/browser/infobars/infobar_responder.h" |
#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/location.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "components/infobars/core/confirm_infobar_delegate.h" |
#include "components/infobars/core/infobar.h" |
@@ -28,7 +30,7 @@ void InfoBarResponder::OnInfoBarAdded(infobars::InfoBar* infobar) { |
infobar->delegate()->AsConfirmInfoBarDelegate(); |
DCHECK(delegate); |
- base::MessageLoop::current()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, |
base::Bind(&InfoBarResponder::Respond, base::Unretained(this), delegate)); |
} |