Index: content/renderer/presentation/presentation_dispatcher.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc |
index 2bb5bb076b71964707d2bf0e8d952519a5969cdf..2ff7a52328a01949d340f6e61a5d8b401e1d81ad 100644 |
--- a/content/renderer/presentation/presentation_dispatcher.cc |
+++ b/content/renderer/presentation/presentation_dispatcher.cc |
@@ -577,7 +577,8 @@ void PresentationDispatcher::OnReceiverConnectionAvailable( |
receiver_->OnReceiverConnectionAvailable(blink::WebPresentationInfo( |
presentation_info.presentation_url, |
blink::WebString::FromUTF8(presentation_info.presentation_id))); |
- auto* receiver_connection_proxy = new ReceiverConnectionProxy(connection); |
+ auto* receiver_connection_proxy = |
+ new ReceiverConnectionProxy(connection, receiver_); |
connection->BindProxy(base::WrapUnique(receiver_connection_proxy)); |
receiver_connection_proxy->Bind(std::move(receiver_connection_request)); |