[webkit-changes] [WebKit/WebKit] 758e1d: Reported crash when sending nil for UUID of animat...
megangardner
noreply at github.com
Wed Jul 31 11:51:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 758e1d6b9f05e1b9ebb50c9a2b83b66a9a434529
https://github.com/WebKit/WebKit/commit/758e1d6b9f05e1b9ebb50c9a2b83b66a9a434529
Author: Megan Gardner <megan_gardner at apple.com>
Date: 2024-07-31 (Wed, 31 Jul 2024)
Changed paths:
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
Log Message:
-----------
Reported crash when sending nil for UUID of animation to remove.
https://bugs.webkit.org/show_bug.cgi?id=277425
rdar://132787248
Reviewed by Wenson Hsieh.
Swift doesn't work with nil values the same way that obj-c does
so we need to ensure that the value we are passing is not nil.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView removeTextAnimationForAnimationID:]):
Canonical link: https://commits.webkit.org/281665@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