Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: feecca6b87b67d8271819bea822b8cfa14498532
https://github.com/WebKit/WebKit/commit/feecca6b87b67d8271819bea822b8cfa14498532
Author: Rob Buis <[email protected]>
Date: 2025-01-09 (Thu, 09 Jan 2025)
Changed paths:
M Source/WTF/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
M Source/WTF/wtf/NativePromise.h
Log Message:
-----------
Fix smart pointer warning in wtf/NativePromise.h
https://bugs.webkit.org/show_bug.cgi?id=285607
Reviewed by Chris Dumez.
The static analyzer reports:
NativePromise.h:753:38: warning: Captured raw-pointer 'this' to ref-counted
type or CheckedPtr-capable type is unsafe
Instead of capturing 'this' we can just use the reffed protectedThis to fix the
warning.
* Source/WTF/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WTF/wtf/NativePromise.h:
Canonical link: https://commits.webkit.org/288645@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