Index: mojo/services/network/http_server_apptest.cc |
diff --git a/mojo/services/network/http_server_apptest.cc b/mojo/services/network/http_server_apptest.cc |
index 32c249c32bd1bce396c4cc73bc586d886bb91e91..dfe5deee77ef85fbb0cd8cce9ef09a0ec7ff1fb6 100644 |
--- a/mojo/services/network/http_server_apptest.cc |
+++ b/mojo/services/network/http_server_apptest.cc |
@@ -553,7 +553,7 @@ class HttpServerAppTest : public test::ApplicationTestBase { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:network_service"); |
- ApplicationConnection* connection = |
+ scoped_ptr<ApplicationConnection> connection = |
application_impl()->ConnectToApplication(request.Pass()); |
connection->ConnectToService(&network_service_); |
} |