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

Unified Diff: services/navigation/view_impl.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Minor fix 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
Index: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index 83c28b66c2edce50266678448f2a8310b3632259..812bb60bf5e242d66f50d9bb14e7f0d5dc02d827 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -148,7 +148,7 @@ void ViewImpl::AddNewContents(content::WebContents* source,
bool* was_blocked) {
mojom::ViewClientPtr client;
mojom::ViewPtr view;
- mojom::ViewRequest view_request = MakeRequest(&view);
+ mojom::ViewRequest view_request(&view);
client_->ViewCreated(std::move(view), MakeRequest(&client),
disposition == WindowOpenDisposition::NEW_POPUP,
initial_rect, user_gesture);

Powered by Google App Engine
This is Rietveld 408576698