[webkit-changes] [WebKit/WebKit] 43d7d7: [Cocoa] InbandTextTrackPrivateAVF::AVFInbandTrackP...
Eric Carlson
noreply at github.com
Fri Feb 7 08:54:31 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 43d7d7dcb3243e0fd7e9f1d7efa827c3002800f2
https://github.com/WebKit/WebKit/commit/43d7d7dcb3243e0fd7e9f1d7efa827c3002800f2
Author: Eric Carlson <eric.carlson at apple.com>
Date: 2025-02-07 (Fri, 07 Feb 2025)
Changed paths:
M Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp
M Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h
Log Message:
-----------
[Cocoa] InbandTextTrackPrivateAVF::AVFInbandTrackParent should be a WeakPtr
https://bugs.webkit.org/show_bug.cgi?id=287201
rdar://144347940
Reviewed by Jean-Yves Avenard.
* Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp:
(WebCore::InbandTextTrackPrivateAVF::InbandTextTrackPrivateAVF):
(WebCore::InbandTextTrackPrivateAVF::disconnect):
(WebCore::InbandTextTrackPrivateAVF::setMode): Ref `m_owner` before calling `trackModeChanged`.
* Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: Make
AVFInbandTrackParent AbstractRefCountedAndCanMakeWeakPtr.
Canonical link: https://commits.webkit.org/290009@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list