diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-29 10:46:47 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-11-02 12:02:10 +0000 |
commit | 99677208ff3b216fdfec551fbe548da5520cd6fb (patch) | |
tree | 476a4865c10320249360e859d8fdd3e01833b03a /chromium/content/browser/presentation/presentation_service_impl.cc | |
parent | c30a6232df03e1efbd9f3b226777b07e087a1122 (diff) | |
download | qtwebengine-chromium-99677208ff3b216fdfec551fbe548da5520cd6fb.tar.gz |
BASELINE: Update Chromium to 86.0.4240.124
Change-Id: Ide0ff151e94cd665ae6521a446995d34a9d1d644
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/browser/presentation/presentation_service_impl.cc')
-rw-r--r-- | chromium/content/browser/presentation/presentation_service_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/content/browser/presentation/presentation_service_impl.cc b/chromium/content/browser/presentation/presentation_service_impl.cc index 3d4f1aecce1..1d16ac93f16 100644 --- a/chromium/content/browser/presentation/presentation_service_impl.cc +++ b/chromium/content/browser/presentation/presentation_service_impl.cc @@ -118,8 +118,8 @@ std::unique_ptr<PresentationServiceImpl> PresentationServiceImpl::Create( void PresentationServiceImpl::Bind( mojo::PendingReceiver<blink::mojom::PresentationService> receiver) { - presentation_service_receiver_.Bind(std::move(receiver)); - presentation_service_receiver_.set_disconnect_handler(base::BindOnce( + presentation_service_receivers_.Add(this, std::move(receiver)); + presentation_service_receivers_.set_disconnect_handler(base::BindRepeating( &PresentationServiceImpl::OnConnectionError, base::Unretained(this))); } @@ -497,7 +497,7 @@ void PresentationServiceImpl::Reset() { pending_reconnect_presentation_cbs_.clear(); - presentation_service_receiver_.reset(); + presentation_service_receivers_.Clear(); presentation_controller_remote_.reset(); presentation_receiver_remote_.reset(); } |