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

Unified Diff: services/ui/main.cc

Issue 2979933002: Add support to the UI Service to run it inside the browser's process. (Closed)
Patch Set: Rebase Created 3 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
Index: services/ui/main.cc
diff --git a/services/ui/main.cc b/services/ui/main.cc
index faf37799ca314acce67a8a9e3f752ed51fa3bdae..c921c0cef7d481033cb997f14b1ccd3b32c9e228 100644
--- a/services/ui/main.cc
+++ b/services/ui/main.cc
@@ -8,7 +8,7 @@
#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(nullptr));
runner.set_message_loop_type(base::MessageLoop::TYPE_UI);
return runner.Run(service_request_handle);
}

Powered by Google App Engine
This is Rietveld 408576698