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

Unified Diff: chrome/test/base/mash_browser_tests_main.cc

Issue 2351603002: mojo: Use TYPE_DEFAULT message-loop for browser-tests. (Closed)
Patch Set: . Created 4 years, 3 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 | « chrome/app/mash/mash_runner.cc ('k') | services/shell/public/cpp/service_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/mash_browser_tests_main.cc
diff --git a/chrome/test/base/mash_browser_tests_main.cc b/chrome/test/base/mash_browser_tests_main.cc
index e4c6fbe00f6827ced69a34d36416938ea39e414f..4fdff6f408fc0ee5a98794342b2935418d8cc413 100644
--- a/chrome/test/base/mash_browser_tests_main.cc
+++ b/chrome/test/base/mash_browser_tests_main.cc
@@ -121,7 +121,7 @@ std::unique_ptr<content::MojoShellConnection> CreateMojoShellConnection(
}
void StartChildApp(shell::mojom::ServiceRequest service_request) {
- base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);
+ base::MessageLoop message_loop(base::MessageLoop::TYPE_DEFAULT);
base::RunLoop run_loop;
mash::MashPackagedService service;
std::unique_ptr<shell::ServiceContext> context =
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | services/shell/public/cpp/service_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698