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

Unified Diff: remoting/host/ipc_desktop_environment_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/desktop_process_unittest.cc ('k') | remoting/protocol/authenticator_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_desktop_environment_unittest.cc
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc
index c7965f2e273a1b06f62e2aafdc37563967b422f3..d256e8531305b388f34c05ed0703ed653564d155 100644
--- a/remoting/host/ipc_desktop_environment_unittest.cc
+++ b/remoting/host/ipc_desktop_environment_unittest.cc
@@ -18,6 +18,7 @@
#include "base/process/process.h"
#include "base/process/process_handle.h"
#include "base/run_loop.h"
+#include "base/single_thread_task_runner.h"
#include "build/build_config.h"
#include "ipc/attachment_broker_privileged.h"
#include "ipc/ipc_channel.h"
@@ -374,7 +375,8 @@ DesktopEnvironment* IpcDesktopEnvironmentTest::CreateDesktopEnvironment() {
.Times(AtMost(1));
// Let tests know that the remote desktop environment is created.
- message_loop_.PostTask(FROM_HERE, setup_run_loop_->QuitClosure());
+ message_loop_.task_runner()->PostTask(FROM_HERE,
+ setup_run_loop_->QuitClosure());
return desktop_environment;
}
« no previous file with comments | « remoting/host/desktop_process_unittest.cc ('k') | remoting/protocol/authenticator_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698