RESOLVED FIXED289684
Workaround a static analyzer false positive in ImageCapture::takePhoto
https://bugs.webkit.org/show_bug.cgi?id=289684
Summary Workaround a static analyzer false positive in ImageCapture::takePhoto
Ryosuke Niwa
Reported 2025-03-13 02:11:56 PDT
Static analyzer emits a warning for the result of Blob::create that value is uncounted and unsafe despite of the fact Blob::create returns Ref. This is because Blog::create is UnresolvedLookupExpr due to the use of auto for "capture". Explicitly specify the type so that the static analyzer can resolve this type information.
Attachments
Ryosuke Niwa
Comment 1 2025-03-13 02:17:03 PDT
EWS
Comment 2 2025-03-13 09:16:24 PDT
Committed 292094@main (b7d2eff20a21): <https://commits.webkit.org/292094@main> Reviewed commits have been landed. Closing PR #42380 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-03-13 09:17:14 PDT
Note You need to log in before you can comment on or make changes to this bug.