| 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 db537c6ba167214b2237251c847a36bf156ff969..8bdbc3521730e03903d93621c40f7f4501841ef1 100644
|
| --- a/components/html_viewer/html_document_application_delegate.cc
|
| +++ b/components/html_viewer/html_document_application_delegate.cc
|
| @@ -91,11 +91,7 @@ void HTMLDocumentApplicationDelegate::OnTerminate() {
|
|
|
| // ApplicationDelegate;
|
| void HTMLDocumentApplicationDelegate::Initialize(mojo::ApplicationImpl* app) {
|
| - mojo::URLRequestPtr request(mojo::URLRequest::New());
|
| - request->url = mojo::String::From("mojo:network_service");
|
| - scoped_ptr<mojo::ApplicationConnection> connection =
|
| - app_.ConnectToApplication(request.Pass());
|
| - connection->ConnectToService(&url_loader_factory_);
|
| + app_.ConnectToService("mojo:network_service", &url_loader_factory_);
|
| }
|
|
|
| bool HTMLDocumentApplicationDelegate::ConfigureIncomingConnection(
|
|
|