summaryrefslogtreecommitdiffstats
path: root/mojo/shell/out_of_process_native_runner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/shell/out_of_process_native_runner.cc')
-rw-r--r--mojo/shell/out_of_process_native_runner.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mojo/shell/out_of_process_native_runner.cc b/mojo/shell/out_of_process_native_runner.cc
index 181a4d25..f09ea82 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.