Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: components/html_viewer/ax_provider_apptest.cc

Issue 1254383016: ApplicationConnection lifetime management changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698