[webkit-changes] [WebKit/WebKit] 2d60e9: [Safer CPP] False positive "Lambda capture of unco...
Abrar Rahman Protyasha
noreply at github.com
Mon Feb 17 04:02:39 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d60e97e7d5f35cee196e366d5c9d4f79d5d8609
https://github.com/WebKit/WebKit/commit/2d60e97e7d5f35cee196e366d5c9d4f79d5d8609
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2025-02-17 (Mon, 17 Feb 2025)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFScrollingPresentationController.mm
Log Message:
-----------
[Safer CPP] False positive "Lambda capture of uncounted variable" warning in PDFScrollingPresentationController::updatePageBackgroundLayers
https://bugs.webkit.org/show_bug.cgi?id=287786
rdar://144971005
Reviewed by Ryosuke Niwa.
The lambda used to compute `pageContainerLayer` is synchronously-used
and immediately-invoked, and hence the warning raised by the static
analyzer is a false positive here. As such, let's suppress this warning.
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFScrollingPresentationController.mm:
(WebKit::PDFScrollingPresentationController::updatePageBackgroundLayers):
Canonical link: https://commits.webkit.org/290477@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