Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45c78daba7a17f9285212c2d059c5207f706db5f
      
https://github.com/WebKit/WebKit/commit/45c78daba7a17f9285212c2d059c5207f706db5f
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WKSeparatedImageView.h
    M Source/WebKit/UIProcess/Cocoa/WKSeparatedImageView.mm

  Log Message:
  -----------
  Let WKSeparatedImageView override `layoutSubviews` without breaking the Swift 
+ WKA setup
https://bugs.webkit.org/show_bug.cgi?id=294764
<rdar://152278969>

Reviewed by Aditya Keerthi.

We can't override a public method from the WKA
`@objc @implementation extension` because `WebKit_Internal` is imported
as internal.

Add a new `layoutCustomSubtree` method which serves as an extension
point instead, and call it from an objc `layoutSubview` override.

* Source/WebKit/UIProcess/Cocoa/WKSeparatedImageView.h:
* Source/WebKit/UIProcess/Cocoa/WKSeparatedImageView.mm:
(-[WKSeparatedImageView layoutSubviews]):
(-[WKSeparatedImageView layoutCustomSubtree]):

Canonical link: https://commits.webkit.org/296633@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

Reply via email to