Black rectangle appears when closing PIP on iPhone
<rdar://problem/62963556>
Created attachment 402678 [details] Patch
Comment on attachment 402678 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402678&action=review > Source/WebCore/ChangeLog:10 > + Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture. I think it is worth saying where m_window will be made visible, e.g. "... before exiting Picture-in-Picture because m_window will be shown ..."
Comment on attachment 402678 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402678&action=review >> Source/WebCore/ChangeLog:10 >> + Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture. > > I think it is worth saying where m_window will be made visible, e.g. "... before exiting Picture-in-Picture because m_window will be shown ..." Thanks for the review! Actually both m_window and m_playerViewController will be destroyed after exiting picture-in-picture. So I think we don't need to show them before destroying them unless there is some animation issue (I haven't found any issue in tests yet).
Committed r263492: <https://trac.webkit.org/changeset/263492> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402678 [details].