[webkit-changes] [WebKit/WebKit] 8c2d47: Make soft linked AVCaptureDeviceType strings optional

youennf noreply at github.com
Tue Apr 4 14:46:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c2d475507f75e33312664cba7797aa6b6c5eea7
      https://github.com/WebKit/WebKit/commit/8c2d475507f75e33312664cba7797aa6b6c5eea7
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
    M Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm

  Log Message:
  -----------
  Make soft linked AVCaptureDeviceType strings optional
https://bugs.webkit.org/show_bug.cgi?id=254950

Reviewed by Eric Carlson.

Make sure to check whether strings can be loaded before using them when building the list of device types.

* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm:
* Source/WebCore/platform/mediastream/mac/AVCaptureDeviceManager.mm:

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




More information about the webkit-changes mailing list