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

Unified Diff: remoting/host/desktop_process_unittest.cc

Issue 2104363004: Remove remaining calls to deprecated MessageLoop methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR gab Created 4 years, 5 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 | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/ipc_desktop_environment_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_process_unittest.cc
diff --git a/remoting/host/desktop_process_unittest.cc b/remoting/host/desktop_process_unittest.cc
index 15da5e0456d6b023d837ad82e540fb0340c42986..a817c2bc40ffef910da1aa442246ad492d520558 100644
--- a/remoting/host/desktop_process_unittest.cc
+++ b/remoting/host/desktop_process_unittest.cc
@@ -248,8 +248,9 @@ void DesktopProcessTest::DisconnectChannels() {
}
void DesktopProcessTest::PostDisconnectChannels() {
- message_loop_.PostTask(FROM_HERE, base::Bind(
- &DesktopProcessTest::DisconnectChannels, base::Unretained(this)));
+ message_loop_.task_runner()->PostTask(
+ FROM_HERE, base::Bind(&DesktopProcessTest::DisconnectChannels,
+ base::Unretained(this)));
}
void DesktopProcessTest::RunDesktopProcess() {
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/ipc_desktop_environment_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698