Index: mojo/shell/out_of_process_native_runner.cc |
diff --git a/mojo/shell/out_of_process_native_runner.cc b/mojo/shell/out_of_process_native_runner.cc |
index 181a4d2526a985714c389f24220cda673c6f09a4..f09ea829d004e23441e71b8ace1f3c59d27291c7 100644 |
--- a/mojo/shell/out_of_process_native_runner.cc |
+++ b/mojo/shell/out_of_process_native_runner.cc |
@@ -38,7 +38,8 @@ void OutOfProcessNativeRunner::Start( |
DCHECK(app_completed_callback_.is_null()); |
app_completed_callback_ = app_completed_callback; |
- child_process_host_.reset(new ChildProcessHost(context_)); |
+ std::string name = app_path.BaseName().RemoveExtension().MaybeAsASCII(); |
+ child_process_host_.reset(new ChildProcessHost(context_, name)); |
child_process_host_->Start(); |
// TODO(vtl): |app_path.AsUTF8Unsafe()| is unsafe. |