Index: components/html_viewer/ax_provider_apptest.cc |
diff --git a/components/html_viewer/ax_provider_apptest.cc b/components/html_viewer/ax_provider_apptest.cc |
index ecf9eb9d9db5ab989ed997f94f2d88a0146f71b1..bccaebef544c0c55820ade8dc2541614f3205cd7 100644 |
--- a/components/html_viewer/ax_provider_apptest.cc |
+++ b/components/html_viewer/ax_provider_apptest.cc |
@@ -81,8 +81,8 @@ TEST_F(AXProviderTest, HelloWorld) { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From( |
base::StringPrintf("http://127.0.0.1:%u/files/test.html", assigned_port)); |
- ApplicationConnection* connection = application_impl()->ConnectToApplication( |
- request.Pass()); |
+ scoped_ptr<ApplicationConnection> connection = |
+ application_impl()->ConnectToApplication(request.Pass()); |
// Embed the html_viewer in a View. |
ViewManagerClientPtr view_manager_client; |