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

Unified Diff: services/ui/main.cc

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Addressing most feedback, making this work on device. Created 3 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: services/ui/main.cc
diff --git a/services/ui/main.cc b/services/ui/main.cc
index faf37799ca314acce67a8a9e3f752ed51fa3bdae..54e7b9b7234372dcf42f06e2bb40ee0d37fd7ba3 100644
--- a/services/ui/main.cc
+++ b/services/ui/main.cc
@@ -8,7 +8,8 @@
#include "services/ui/service.h"
MojoResult ServiceMain(MojoHandle service_request_handle) {
- service_manager::ServiceRunner runner(new ui::Service);
+ service_manager::ServiceRunner runner(
+ new ui::Service(scoped_refptr<base::SingleThreadTaskRunner>(nullptr)));
runner.set_message_loop_type(base::MessageLoop::TYPE_UI);
return runner.Run(service_request_handle);
}
« no previous file with comments | « services/ui/gpu/gpu_main.cc ('k') | services/ui/service.h » ('j') | services/ui/service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698