| Index: components/html_viewer/html_document_application_delegate.cc
|
| diff --git a/components/html_viewer/html_document_application_delegate.cc b/components/html_viewer/html_document_application_delegate.cc
|
| index 68eff9f5d35a8f84b922fbca684b832d9cbc559e..935f5eec5dcaeb8046d2fb3886d0141a66cbf55e 100644
|
| --- a/components/html_viewer/html_document_application_delegate.cc
|
| +++ b/components/html_viewer/html_document_application_delegate.cc
|
| @@ -115,7 +115,7 @@ void HTMLDocumentApplicationDelegate::OnTerminate() {
|
| void HTMLDocumentApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
|
| mojo::URLRequestPtr request(mojo::URLRequest::New());
|
| request->url = mojo::String::From("mojo:network_service");
|
| - mojo::ApplicationConnection* connection =
|
| + scoped_ptr<mojo::ApplicationConnection> connection =
|
| app_.ConnectToApplication(request.Pass());
|
| connection->ConnectToService(&network_service_);
|
| connection->ConnectToService(&url_loader_factory_);
|
|
|