[webkit-changes] [WebKit/WebKit] 618934: RTCController should use a WeakHashSet

youennf noreply at github.com
Tue Feb 13 00:28:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 618934b27e385cc641923328a25d64c3a343d37f
      https://github.com/WebKit/WebKit/commit/618934b27e385cc641923328a25d64c3a343d37f
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2024-02-13 (Tue, 13 Feb 2024)

  Changed paths:
    M Source/WebCore/Modules/mediastream/RTCController.cpp
    M Source/WebCore/Modules/mediastream/RTCController.h

  Log Message:
  -----------
  RTCController should use a WeakHashSet
https://bugs.webkit.org/show_bug.cgi?id=269191
rdar://122798016

Reviewed by Jean-Yves Avenard.

This makes us use more smart pointers.

* Source/WebCore/Modules/mediastream/RTCController.cpp:
(WebCore::RTCController::~RTCController):
(WebCore::RTCController::remove):
(WebCore::RTCController::add):
(WebCore::RTCController::disableICECandidateFilteringForAllOrigins):
(WebCore::RTCController::disableICECandidateFilteringForDocument):
(WebCore::RTCController::enableICECandidateFiltering):
* Source/WebCore/Modules/mediastream/RTCController.h:

Canonical link: https://commits.webkit.org/274531@main




More information about the webkit-changes mailing list