Index: mandoline/app/desktop/launcher_process.cc |
diff --git a/mandoline/app/desktop/launcher_process.cc b/mandoline/app/desktop/launcher_process.cc |
index 132d0333a2873dc2d1edb16d373942c9f698037b..4473b0d8620e28f44f9dc0c1c0d9557e16ed1b0d 100644 |
--- a/mandoline/app/desktop/launcher_process.cc |
+++ b/mandoline/app/desktop/launcher_process.cc |
@@ -13,6 +13,7 @@ |
#include "base/command_line.h" |
#include "base/files/file_util.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/path_service.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/trace_event/trace_event.h" |
#include "components/tracing/trace_config_file.h" |
@@ -99,7 +100,9 @@ int LauncherProcessMain(int argc, char** argv) { |
// We want the runner::Context to outlive the MessageLoop so that pipes are |
// all gracefully closed / error-out before we try to shut the Context down. |
- mojo::runner::Context shell_context; |
+ base::FilePath shell_dir; |
+ PathService::Get(base::DIR_MODULE, &shell_dir); |
+ mojo::runner::Context shell_context(shell_dir); |
InitCoreServicesForContext(&shell_context); |
{ |
base::MessageLoop message_loop; |