| Index: mojo/runner/desktop/launcher_process.cc
|
| diff --git a/mojo/runner/desktop/launcher_process.cc b/mojo/runner/desktop/launcher_process.cc
|
| index 4fa69560cfc334dbb2142227f1f2975f4d1be9d4..b55953c32e4d2bc330868b7a5931371c2f7b7466 100644
|
| --- a/mojo/runner/desktop/launcher_process.cc
|
| +++ b/mojo/runner/desktop/launcher_process.cc
|
| @@ -15,6 +15,7 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/path_service.h"
|
| #include "base/synchronization/waitable_event.h"
|
| +#include "base/threading/platform_thread.h"
|
| #include "mojo/runner/context.h"
|
| #include "mojo/runner/switches.h"
|
| #include "mojo/shell/switches.h"
|
| @@ -31,6 +32,8 @@ int LauncherProcessMain(const GURL& mojo_url, const base::Closure& callback) {
|
| // http://crbug.com/546644
|
| command_line->AppendSwitch(switches::kMojoNoSandbox);
|
|
|
| + base::PlatformThread::SetName("mojo_runner");
|
| +
|
| // We want the shell::Context to outlive the MessageLoop so that pipes are
|
| // all gracefully closed / error-out before we try to shut the Context down.
|
| Context shell_context;
|
|
|