[webkit-changes] [WebKit/WebKit] b8615e: Fix crash related to visibility propagation
Per Arne Vollan
noreply at github.com
Fri Dec 8 18:14:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b8615eb10baaf147c41e4c7817b483271ad8b413
https://github.com/WebKit/WebKit/commit/b8615eb10baaf147c41e4c7817b483271ad8b413
Author: Per Arne Vollan <pvollan at apple.com>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M Source/WebKit/UIProcess/ios/WKContentView.mm
Log Message:
-----------
Fix crash related to visibility propagation
https://bugs.webkit.org/show_bug.cgi?id=266101
rdar://119398625
Reviewed by Brent Fulgham.
Do not adopt the UIInteraction object, since it appears that we are currently overreleasing it.
Also set the object to null after removing it from the view.
* Source/WebKit/UIProcess/ios/WKContentView.mm:
(-[WKContentView _setupVisibilityPropagationViewForWebProcess]):
(-[WKContentView _setupVisibilityPropagationViewForGPUProcess]):
(-[WKContentView _removeVisibilityPropagationViewForWebProcess]):
(-[WKContentView _removeVisibilityPropagationViewForGPUProcess]):
Canonical link: https://commits.webkit.org/271778@main
More information about the webkit-changes
mailing list