RESOLVED FIXED291592
[Safer CPP] Address UnretainedLambdaCapturesChecker warnings in PDFAnnotationTypeHelpers.mm
https://bugs.webkit.org/show_bug.cgi?id=291592
Summary [Safer CPP] Address UnretainedLambdaCapturesChecker warnings in PDFAnnotation...
Abrar Rahman Protyasha
Reported 2025-04-15 14:24:36 PDT
The warning being: ``` /Volumes/Data/worker/macOS-Safer-CPP-Checks-EWS/build/Source/WebKit/WebProcess/Plugins/PDF/PDFAnnotationTypeHelpers.mm:87:21: warning: Captured raw-pointer 'annotation' to unretained type is unsafe [alpha.webkit.UnretainedLambdaCapturesChecker] 87 | auto checker = [annotation, converter = WTFMove(converter)](auto&& type) { | ^ ```
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-15 14:24:45 PDT
Abrar Rahman Protyasha
Comment 2 2025-04-15 16:18:17 PDT
EWS
Comment 3 2025-04-15 19:32:06 PDT
Committed 293745@main (07ef022d64f0): <https://commits.webkit.org/293745@main> Reviewed commits have been landed. Closing PR #44124 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.