Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: acd6fdd75bbb85fed8f53d1b472cf5413e1ae3e7
https://github.com/WebKit/WebKit/commit/acd6fdd75bbb85fed8f53d1b472cf5413e1ae3e7
Author: Jer Noble <[email protected]>
Date: 2023-03-04 (Sat, 04 Mar 2023)
Changed paths:
M Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm
Log Message:
-----------
[Cocoa|iPad] No video on Netflix.com
https://bugs.webkit.org/show_bug.cgi?id=253367
rdar://106180027
Reviewed by Jean-Yves Avenard.
In -[WebAVPlayerLayer layoutSublayers], if the videoSublayer's frame is empty,
we skip ahead
and call -resolveBounds to set the initial frame dimensions. However, if we
haven't yet set
the _targetVideoFrame ivar, then the empty videoSublayer frame and the empty
_targetVideoFrame
will match and we'll bail out early without doing anything.
* Source/WebCore/platform/cocoa/WebAVPlayerLayer.mm:
(-[WebAVPlayerLayer layoutSublayers]):
Canonical link: https://commits.webkit.org/261218@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes