| Summary: | [iOS] clean up fullscreen player controller when exiting fullscreen | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||
| Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, glenn, jer.noble, philipj, sergio, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Eric Carlson
2014-03-21 15:52:29 PDT
Created attachment 227502 [details]
Proposed patch.
Comment on attachment 227502 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=227502&action=review r=me with nits. > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:207 > + if (_avPlayerController && [_avPlayerController delegate]) This should be unnecessary. If _avPlayerController is nil, [_avPlayerController delegate] will return nil as well. > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:215 > + if (!_avPlayerController || ![_avPlayerController delegate]) Ditto. Committed r166106: https://trac.webkit.org/r166106 |