From 6f9ba85ba9e84eb225ab8d4a6f0cb99e5dc61563 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Mon, 13 Feb 2023 14:51:50 +0100 Subject: BASELINE: Update Chromium to 108.0.5359.220 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibfd5669271969a41c1e74a55be1ffcd5d32c8e98 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/460143 Reviewed-by: Michael BrĂ¼ning --- .../blink/renderer/modules/peerconnection/rtc_peer_connection.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc') diff --git a/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc index b7f66c8b22a..e951bf3faa3 100644 --- a/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc +++ b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_peer_connection.cc @@ -643,10 +643,11 @@ RTCPeerConnection::~RTCPeerConnection() { } void RTCPeerConnection::Dispose() { - // Promptly clears the handler's pointer to |this| + // Promptly clears the handler // so that content/ doesn't access it in a lazy sweeping phase. + // Other references to the handler use a weak pointer, preventing access. if (peer_handler_) { - peer_handler_->CloseAndUnregister(); + peer_handler_.reset(); } } -- cgit v1.2.1