[webkit-changes] [WebKit/WebKit] ae12b8: Assert availability of libwebrtc

Vitor Roriz noreply at github.com
Fri May 31 21:36:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae12b87cfbd4e57ec2173bdda10a158e51697d45
      https://github.com/WebKit/WebKit/commit/ae12b87cfbd4e57ec2173bdda10a158e51697d45
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2024-05-31 (Fri, 31 May 2024)

  Changed paths:
    M Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp

  Log Message:
  -----------
  Assert availability of libwebrtc
https://bugs.webkit.org/show_bug.cgi?id=274991
rdar://problem/129080708

Reviewed by Alexey Proskuryakov and Brent Fulgham.

If for some reason libwebrtc is not present, we could crash assert immediately instead of crash on a bad access.
Also, we are reverting https://commits.webkit.org/279586@main where we would not crash if libwebrtc
would not be available.

* Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProviderCocoa.cpp:
(WebCore::WebRTCProvider::webRTCAvailable):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list