[webkit-changes] [WebKit/WebKit] 139d1d: -pictureInPicturePlayerLayerView is unavailable on...

Jer Noble noreply at github.com
Sun Jan 22 09:34:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 139d1d031bd3f24cbf275dd3a33d5722ddbd3cdf
      https://github.com/WebKit/WebKit/commit/139d1d031bd3f24cbf275dd3a33d5722ddbd3cdf
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm

  Log Message:
  -----------
  -pictureInPicturePlayerLayerView is unavailable on watchOS
https://bugs.webkit.org/show_bug.cgi?id=250910
rdar://104475956

Reviewed by Chris Dumez and Eric Carlson.

Add a HAVE_PICTUREINPICTUREPLAYERLAYERVIEW guard and use it liberally in VideoFullscreenInterfaceAVKit.mm.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:
(WebAVPlayerLayerView_dealloc):
(allocWebAVPlayerLayerViewInstance):
(VideoFullscreenInterfaceAVKit::videoDimensionsChanged):
(VideoFullscreenInterfaceAVKit::doEnterFullscreen):

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




More information about the webkit-changes mailing list