Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b7d2eff20a218d306dad236f731caa37a425f9d8
      
https://github.com/WebKit/WebKit/commit/b7d2eff20a218d306dad236f731caa37a425f9d8
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M Source/WebCore/Modules/mediastream/ImageCapture.cpp

  Log Message:
  -----------
  Workaround a static analyzer false positive in ImageCapture::takePhoto
https://bugs.webkit.org/show_bug.cgi?id=289684

Reviewed by Eric Carlson.

Static analyzer currently emits a warning for the result of Blob::create in 
ImageCapture::takePhoto
despite of the fact it returns Ref<Blob>. 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.

* Source/WebCore/Modules/mediastream/ImageCapture.cpp:
(WebCore::ImageCapture::takePhoto):

Canonical link: https://commits.webkit.org/292094@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to