WebAVPlayerController should use WeakPtr<> for C++ instance variables. The "rules" I'm following here are: - RefCounted objects should be held weakly instead of using raw pointers (WebCore::PlaybackSessionInterfaceAVKit). - I assume this isn't a RefPtr<> to prevent a retain cycle. - Delegate objects should always be held weakly (WebCore::PlaybackSessionModel, which already subclasses WeakPtr<>).
Created attachment 441656 [details] Patch v1
Created attachment 441914 [details] Patch for landing
(In reply to David Kilzer (:ddkilzer) from comment #2) > Created attachment 441914 [details] > Patch for landing The ios-wk2 bot for Attachment #441656 [details] is stuck on orange, and will probably never fail over to allow a retry, so I'm posting this "Patch for landing" to make the ios-wk2 and api-ios bots retest the patch.
Created attachment 442117 [details] Patch for landing (retry for api-ios tests for the third time)
Created attachment 442216 [details] Patch for landing (retry for api-ios tests for the fourth time)
Comment on attachment 442216 [details] Patch for landing (retry for api-ios tests for the fourth time) Marking cq+ since the api-ios and ios-wk2 bots passed separately on different posts.
Committed r284743 (243452@main): <https://commits.webkit.org/243452@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442216 [details].
<rdar://problem/84580153>
(In reply to EWS from comment #7) > Committed r284743 (243452@main): <https://commits.webkit.org/243452@main> > > All reviewed patches have been landed. Closing bug and clearing flags on > attachment 442216 [details]. This caused: Bug 232676: [ iOS ] TestWebKitAPI.WebKitLegacy.AudioSessionCategoryIOS is crashing