Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ead8c91f579068cb9c7b52a0eed60f1a9b93d2f3
https://github.com/WebKit/WebKit/commit/ead8c91f579068cb9c7b52a0eed60f1a9b93d2f3
Author: Jessica Lee <[email protected]>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M Source/WebCore/platform/mediarecorder/MediaRecorderPrivateEncoder.cpp
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordForm.mm
Log Message:
-----------
Use protect() instead of RefPtr { } in MediaRecorderPrivateEncoder,
PDFPluginAnnotation, PDFPluginPasswordForm
https://bugs.webkit.org/show_bug.cgi?id=315894
rdar://178298727
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/mediarecorder/MediaRecorderPrivateEncoder.cpp:
(WebCore::MediaRecorderPrivateEncoder::encodePendingVideoFrames):
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm:
(WebKit::PDFPluginAnnotation::attach):
* Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordForm.mm:
(WebKit::PDFPluginPasswordForm::unlockFailed):
Canonical link: https://commits.webkit.org/314300@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications