Index: components/html_viewer/blink_platform_impl.cc |
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc |
index a1a988a6e3654acd9a508ac7f778edb3845e906b..083b5c3261707cd5447dc0059f911594b67f6def 100644 |
--- a/components/html_viewer/blink_platform_impl.cc |
+++ b/components/html_viewer/blink_platform_impl.cc |
@@ -74,7 +74,7 @@ BlinkPlatformImpl::BlinkPlatformImpl( |
if (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_); |