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

Unified Diff: remoting/host/setup/start_host_main.cc

Issue 2082363002: Remove calls to deprecated MessageLoop methods in remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing include Created 4 years, 6 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
Index: remoting/host/setup/start_host_main.cc
diff --git a/remoting/host/setup/start_host_main.cc b/remoting/host/setup/start_host_main.cc
index 9a87abb3f6efcf84f3769f65b5af5f5494d4b580..5f3462cd408eceb12e2a8768e942ccd66b384ced 100644
--- a/remoting/host/setup/start_host_main.cc
+++ b/remoting/host/setup/start_host_main.cc
@@ -88,7 +88,8 @@ std::string ReadString(bool no_echo) {
// Called when the HostStarter has finished.
void OnDone(HostStarter::Result result) {
if (!g_message_loop->task_runner()->BelongsToCurrentThread()) {
- g_message_loop->PostTask(FROM_HERE, base::Bind(&OnDone, result));
+ g_message_loop->task_runner()->PostTask(FROM_HERE,
+ base::Bind(&OnDone, result));
return;
}
switch (result) {
« no previous file with comments | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/host/token_validator_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698