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); |
} |