Title: [263492] trunk/Source/WebCore
- Revision
- 263492
- Author
- peng.l...@apple.com
- Date
- 2020-06-24 19:11:55 -0700 (Wed, 24 Jun 2020)
Log Message
Black rectangle appears when closing PIP on iPhone
https://bugs.webkit.org/show_bug.cgi?id=213570
Reviewed by Eric Carlson.
* platform/ios/VideoFullscreenInterfaceAVKit.mm:
(VideoFullscreenInterfaceAVKit::willStopPictureInPicture):
Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (263491 => 263492)
--- trunk/Source/WebCore/ChangeLog 2020-06-25 02:05:51 UTC (rev 263491)
+++ trunk/Source/WebCore/ChangeLog 2020-06-25 02:11:55 UTC (rev 263492)
@@ -1,3 +1,14 @@
+2020-06-24 Peng Liu <peng.l...@apple.com>
+
+ Black rectangle appears when closing PIP on iPhone
+ https://bugs.webkit.org/show_bug.cgi?id=213570
+
+ Reviewed by Eric Carlson.
+
+ * platform/ios/VideoFullscreenInterfaceAVKit.mm:
+ (VideoFullscreenInterfaceAVKit::willStopPictureInPicture):
+ Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture.
+
2020-06-24 Simon Fraser <simon.fra...@apple.com>
REGRESSION (r260276): Scrolling through shelves on music.apple.com is not smooth
Modified: trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm (263491 => 263492)
--- trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm 2020-06-25 02:05:51 UTC (rev 263491)
+++ trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm 2020-06-25 02:11:55 UTC (rev 263492)
@@ -1118,9 +1118,6 @@
if (m_currentMode.hasFullscreen() || m_restoringFullscreenForPictureInPictureStop)
return;
- [m_window setHidden:NO];
- [[m_playerViewController view] setHidden:NO];
-
if (m_videoFullscreenModel)
m_videoFullscreenModel->willExitPictureInPicture();
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes