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); |