Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df7b170217e90aefa518dedc829a1ad38638a5d9
https://github.com/WebKit/WebKit/commit/df7b170217e90aefa518dedc829a1ad38638a5d9
Author: Wenson Hsieh <[email protected]>
Date: 2025-05-06 (Tue, 06 May 2025)
Changed paths:
M Source/WebKit/UIProcess/Cocoa/WKColorExtensionView.mm
Log Message:
-----------
Followup to 294575@main — fix Safer C++ warnings in WKColorExtensionView.mm
https://bugs.webkit.org/show_bug.cgi?id=292623
Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.
Fixes a few (unretained) method calls to `_delegate`, as well passing an
unretained reference to
`[_targetColor CGColor]` when setting the background color.
* Source/WebKit/UIProcess/Cocoa/WKColorExtensionView.mm:
(-[WKColorExtensionView _fadeToColor:visible:]):
(-[WKColorExtensionView animationDidStop:finished:]):
(-[WKColorExtensionView cancelFadeAnimation]):
Also wrap `self.layer` in a `RetainPtr` for good measure.
Canonical link: https://commits.webkit.org/294590@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