Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df8790f393e1dad288d0029e78ccb3c7cac10311
https://github.com/WebKit/WebKit/commit/df8790f393e1dad288d0029e78ccb3c7cac10311
Author: Jessica Lee <[email protected]>
Date: 2026-04-28 (Tue, 28 Apr 2026)
Changed paths:
M Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp
M Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
M Source/WebCore/svg/SVGSVGElement.cpp
Log Message:
-----------
Use protect() instead of RefPtr { } in PlatformMediaSessionManager,
AudioFileReaderCocoa, MediaPlayerPrivateAVFoundationObjC, SVGSVGElement
https://bugs.webkit.org/show_bug.cgi?id=313399
rdar://175659388
Reviewed by Anne van Kesteren.
Use protect(foo) instead of RefPtr {foo } to align with WebKit's transition
from brace-initialized smart pointer temporaries.
No new tests needed.
* Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp:
(WebCore::PlatformMediaSessionManager::bestEligibleSessionForRemoteControls):
* Source/WebCore/platform/audio/cocoa/AudioFileReaderCocoa.mm:
(WebCore::AudioFileReader::demuxWebMData const):
*
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(-[WebCoreAVFMovieObserver observeValueForKeyPath:ofObject:change:context:]):
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::scrollToFragment):
Canonical link: https://commits.webkit.org/312244@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications