Index: mojo/services/network/udp_socket_apptest.cc |
diff --git a/mojo/services/network/udp_socket_apptest.cc b/mojo/services/network/udp_socket_apptest.cc |
index eee66af9b8955b93c8bfb4ebce8e554678c8240e..0c92ede974a3b771d9c89d6e7e4a9c96d176357e 100644 |
--- a/mojo/services/network/udp_socket_apptest.cc |
+++ b/mojo/services/network/udp_socket_apptest.cc |
@@ -324,7 +324,7 @@ class UDPSocketAppTest : 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_); |