[webkit-changes] [WebKit/WebKit] 3de89d: [iOS] Use _resetContentOffset more often in the co...

Tim Nguyen noreply at github.com
Mon Dec 11 23:32:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3de89dafbb6f95049d3732273ba047c1d204cae4
      https://github.com/WebKit/WebKit/commit/3de89dafbb6f95049d3732273ba047c1d204cae4
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

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

  Log Message:
  -----------
  [iOS] Use _resetContentOffset more often in the codebase
https://bugs.webkit.org/show_bug.cgi?id=264459
rdar://118148821

Reviewed by Tim Horton.

Reduce duplication by using new _resetContentOffset method introduced in 270424 at main.

* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _setHasCustomContentView:loadedMIMEType:]):
(-[WKWebView _processDidExit]):
(-[WKWebView _didCommitLayerTree:]):

Canonical link: https://commits.webkit.org/271915@main




More information about the webkit-changes mailing list