RESOLVED FIXED 214032
Function didCleanupFullscreencreen() should be called at the end of VideoFullscreenInterfaceAVKit::cleanupFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=214032
Summary Function didCleanupFullscreencreen() should be called at the end of VideoFull...
Peng Liu
Reported 2020-07-06 21:06:04 PDT
Function didCleanupFullscreencreen() should be called at the end of VideoFullscreenInterfaceAVKit::cleanupFullscreen()
Attachments
Patch (2.00 KB, patch)
2020-07-06 21:12 PDT, Peng Liu
no flags
Peng Liu
Comment 1 2020-07-06 21:08:36 PDT
Peng Liu
Comment 2 2020-07-06 21:12:38 PDT
Eric Carlson
Comment 3 2020-07-07 09:46:29 PDT
Comment on attachment 403663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403663&action=review > Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:987 > [playerController() setHasEnabledVideo:false]; > [playerController() setHasVideo:false]; Doesn't seem like we should have to call both of these, shouldn't setting `hasVideo` to false automatically set `hasEnabledVideo` to false? Not new to this patch, but it would be good to change this in a future cleanup.
Peng Liu
Comment 4 2020-07-07 10:50:39 PDT
Comment on attachment 403663 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403663&action=review >> Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm:987 >> [playerController() setHasVideo:false]; > > Doesn't seem like we should have to call both of these, shouldn't setting `hasVideo` to false automatically set `hasEnabledVideo` to false? Not new to this patch, but it would be good to change this in a future cleanup. Right! We need to update WebAVPlayerController to do that.
EWS
Comment 5 2020-07-07 11:03:20 PDT
Committed r264030: <https://trac.webkit.org/changeset/264030> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403663 [details].
Note You need to log in before you can comment on or make changes to this bug.