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

Unified Diff: components/html_viewer/layout_test_html_viewer.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/stats_collection_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/layout_test_html_viewer.cc
diff --git a/components/html_viewer/layout_test_html_viewer.cc b/components/html_viewer/layout_test_html_viewer.cc
index 3c0a72dd159a7d8a17b6fc9975080bc6a03891cd..459e301515d595468310b100c67dfeb63c9df596 100644
--- a/components/html_viewer/layout_test_html_viewer.cc
+++ b/components/html_viewer/layout_test_html_viewer.cc
@@ -37,9 +37,7 @@ void LayoutTestHTMLViewer::TestFinished() {
test_interfaces_->ResetAll();
web_view::LayoutTestRunnerPtr test_runner_ptr;
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = mojo::String::From("mojo:web_view_test_runner");
- app()->ConnectToService(request.Pass(), &test_runner_ptr);
+ app()->ConnectToService("mojo:web_view_test_runner", &test_runner_ptr);
test_runner_ptr->TestFinished();
}
« no previous file with comments | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/stats_collection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698