| Index: mojo/services/launcher/launcher.cc
|
| diff --git a/mojo/services/launcher/launcher.cc b/mojo/services/launcher/launcher.cc
|
| index 01a49832666fbea45f915e6402da7a74f69c1108..b84cd1804dfcbabaa45ab4799615eedd5887a8d7 100644
|
| --- a/mojo/services/launcher/launcher.cc
|
| +++ b/mojo/services/launcher/launcher.cc
|
| @@ -145,9 +145,12 @@ void LaunchInstance::OnReceivedResponse(URLResponsePtr response) {
|
| std::string content_type = GetContentType(response->headers);
|
| std::string handler_url = app_->GetHandlerForContentType(content_type);
|
| if (!handler_url.empty()) {
|
| - client_->OnLaunch(handler_url,
|
| - response.Pass(),
|
| - response_body_stream_.Pass());
|
| + navigation::ResponseDetailsPtr response_details =
|
| + navigation::ResponseDetails::New();
|
| + response_details->response = response.Pass();
|
| + response_details->response_body_stream = response_body_stream_.Pass();
|
| +
|
| + client_->OnLaunch(handler_url, response_details.Pass());
|
| }
|
| }
|
|
|
|
|