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

Unified Diff: services/shell/runner/child/test_native_main.cc

Issue 2091443002: Remove calls to deprecated MessageLoop methods in services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | services/shell/standalone/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/child/test_native_main.cc
diff --git a/services/shell/runner/child/test_native_main.cc b/services/shell/runner/child/test_native_main.cc
index ea5bd0c96bb8db6d5a9aadafb5cbc1c49466a98e..83a970952e54b89275fd13c4dbe6ed7dad1c6e1e 100644
--- a/services/shell/runner/child/test_native_main.cc
+++ b/services/shell/runner/child/test_native_main.cc
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/process/launch.h"
+#include "base/run_loop.h"
#include "base/threading/thread.h"
#include "build/build_config.h"
#include "mojo/edk/embedder/embedder.h"
@@ -59,7 +60,7 @@ int TestNativeMain(shell::ShellClient* shell_client) {
base::MessageLoop loop;
shell::ShellConnection impl(shell_client,
shell::GetShellClientRequestFromCommandLine());
- loop.Run();
+ base::RunLoop().Run();
mojo::edk::ShutdownIPCSupport();
}
« no previous file with comments | « no previous file | services/shell/standalone/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698