Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: components/arc/standalone/arc_standalone_bridge_runner.cc

Issue 2211473003: Remove calls to deprecated MessageLoop methods on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/arc_bridge_service_unittest.cc ('k') | components/arc/standalone/service_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/standalone/arc_standalone_bridge_runner.cc
diff --git a/components/arc/standalone/arc_standalone_bridge_runner.cc b/components/arc/standalone/arc_standalone_bridge_runner.cc
index 6acfcb5abb663f3e6af24010f96dd020b2d530be..1e9f5c0e907a671b63f791f4bd328df63c2f2a3b 100644
--- a/components/arc/standalone/arc_standalone_bridge_runner.cc
+++ b/components/arc/standalone/arc_standalone_bridge_runner.cc
@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/run_loop.h"
+#include "base/single_thread_task_runner.h"
namespace arc {
@@ -28,7 +29,7 @@ void ArcStandaloneBridgeRunner::Stop(int exit_code) {
DCHECK(thread_checker_.CalledOnValidThread());
exit_code_ = exit_code;
CHECK(run_loop_);
- message_loop_.PostTask(FROM_HERE, run_loop_->QuitClosure());
+ message_loop_.task_runner()->PostTask(FROM_HERE, run_loop_->QuitClosure());
}
} // namespace arc
« no previous file with comments | « components/arc/arc_bridge_service_unittest.cc ('k') | components/arc/standalone/service_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698