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

Unified Diff: mash/webtest/webtest.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review Created 4 years 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 | « mash/task_viewer/task_viewer.cc ('k') | media/remoting/fake_remoting_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/webtest/webtest.cc
diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc
index 59273ab056d17afc8ec039a43de2483dce789aa0..128b177e0bdd96fa5ec31755099128cb5ebbedf9 100644
--- a/mash/webtest/webtest.cc
+++ b/mash/webtest/webtest.cc
@@ -191,8 +191,7 @@ void Webtest::Launch(uint32_t what, mojom::LaunchMode how) {
context()->connector()->ConnectToInterface("navigation", &view_factory);
navigation::mojom::ViewPtr view;
navigation::mojom::ViewClientPtr view_client;
- navigation::mojom::ViewClientRequest view_client_request =
- MakeRequest(&view_client);
+ navigation::mojom::ViewClientRequest view_client_request(&view_client);
view_factory->CreateView(std::move(view_client), MakeRequest(&view));
UI* ui = new UI(this, std::move(view), std::move(view_client_request));
views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
« no previous file with comments | « mash/task_viewer/task_viewer.cc ('k') | media/remoting/fake_remoting_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698