Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b8615eb10baaf147c41e4c7817b483271ad8b413
      
https://github.com/WebKit/WebKit/commit/b8615eb10baaf147c41e4c7817b483271ad8b413
  Author: Per Arne Vollan <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to