Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ebf83c48305f8aac9f37af71af77dd66b758811
      
https://github.com/WebKit/WebKit/commit/7ebf83c48305f8aac9f37af71af77dd66b758811
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
    M Source/WebKit/UIProcess/ios/WKBaseScrollView.h
    M Source/WebKit/UIProcess/ios/WKBaseScrollView.mm

  Log Message:
  -----------
  Take view stability into account when updating Overlay Regions
https://bugs.webkit.org/show_bug.cgi?id=295100
<rdar://153757448>

Reviewed by Simon Fraser.

Pass along a boolean `stable` flag to the `_updateOverlayRegionRects`
method.

* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(configureScrollViewWithOverlayRegionsIDs):
Use `_isInStableState` to get the scrollview stability.
(-[WKWebView _updateOverlayRegions:destroyedLayers:]):
Pass the boolean down.
(-[WKWebView _updateOverlayRegionsForCustomContentView]):
Always assume we're stable here.
* Source/WebKit/UIProcess/ios/WKBaseScrollView.h:
* Source/WebKit/UIProcess/ios/WKBaseScrollView.mm:
(-[WKBaseScrollView _updateOverlayRegionRects:whileStable:]):
(-[WKBaseScrollView _updateOverlayRegionRects:]): Deleted.
Update the stub.

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