[webkit-changes] [WebKit/WebKit] e78ba9: Use the fullscreen preferred size when reporting s...

megangardner noreply at github.com
Fri May 26 17:24:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e78ba96e4f2e5613a2d3931b2f4e373c5c30ddb1
      https://github.com/WebKit/WebKit/commit/e78ba96e4f2e5613a2d3931b2f4e373c5c30ddb1
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm

  Log Message:
  -----------
  Use the fullscreen preferred size when reporting screen dimensions followup
https://bugs.webkit.org/show_bug.cgi?id=257390
rdar://109289474

Reviewed by Tim Horton.

In the fix for https://github.com/WebKit/WebKit/commit/da50bb2bfac4cb2530f12086789caf196b3adcb9
rdar://99403187
we failed to also accout for availableScreenSize. Add the logic to this
function as well.

* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::fullscreenPreferencesScreenSize):
(WebKit::WebPageProxy::availableScreenSize):
(WebKit::WebPageProxy::overrideScreenSize):

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




More information about the webkit-changes mailing list