Index: shell/out_of_process_dynamic_service_runner.cc |
diff --git a/shell/out_of_process_dynamic_service_runner.cc b/shell/out_of_process_dynamic_service_runner.cc |
index 45d57ef0db8e176da0aeec67828e1f8853f8e2a6..f6d4a1b369494e5010b3e2e9267d5356cdfb8578 100644 |
--- a/shell/out_of_process_dynamic_service_runner.cc |
+++ b/shell/out_of_process_dynamic_service_runner.cc |
@@ -30,7 +30,7 @@ OutOfProcessDynamicServiceRunner::~OutOfProcessDynamicServiceRunner() { |
void OutOfProcessDynamicServiceRunner::Start( |
const base::FilePath& app_path, |
- ScopedMessagePipeHandle service_handle, |
+ InterfaceRequest<Application> application_request, |
const base::Closure& app_completed_callback) { |
app_path_ = app_path; |
@@ -41,9 +41,8 @@ void OutOfProcessDynamicServiceRunner::Start( |
app_child_process_host_->Start(); |
// TODO(vtl): |app_path.AsUTF8Unsafe()| is unsafe. |
- app_child_process_host_->controller()->StartApp( |
- app_path.AsUTF8Unsafe(), ScopedMessagePipeHandle(MessagePipeHandle( |
- service_handle.release().value()))); |
+ app_child_process_host_->controller()->StartApp(app_path.AsUTF8Unsafe(), |
+ application_request.Pass()); |
} |
void OutOfProcessDynamicServiceRunner::AppCompleted(int32_t result) { |