[webkit-changes] [WebKit/WebKit] b137ee: Adopt explicit notifications for automatic live re...

Tim Horton noreply at github.com
Tue Oct 25 14:31:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b137ee45c1daa7f3d586439000c74319986c44cf
      https://github.com/WebKit/WebKit/commit/b137ee45c1daa7f3d586439000c74319986c44cf
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.h
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm

  Log Message:
  -----------
  Adopt explicit notifications for automatic live resize snapshotting
https://bugs.webkit.org/show_bug.cgi?id=246992
rdar://96692698

Reviewed by Wenson Hsieh.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView didMoveToWindow]):
(-[WKWebView _beginAutomaticLiveResizeIfNeeded]):
(-[WKWebView _frameOrBoundsChanged]):
Adopt _isInLiveResize/_UIWindowSceneDidEndLiveResizeNotification
instead of inferring it from scene activation state.

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




More information about the webkit-changes mailing list