[webkit-changes] [WebKit/WebKit] 81f1c2: Crashes under currentUserInterfaceIdiomIsVisionOrV...

Tim Horton noreply at github.com
Fri Aug 11 11:59:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81f1c237dc818ef3ca64e9174432a779644c2dd6
      https://github.com/WebKit/WebKit/commit/81f1c237dc818ef3ca64e9174432a779644c2dd6
  Author: Tim Horton <thorton at apple.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/system/ios/UserInterfaceIdiom.mm

  Log Message:
  -----------
  Crashes under currentUserInterfaceIdiomIsVisionOrVisionLegacy() on iPad
https://bugs.webkit.org/show_bug.cgi?id=260077
rdar://113758512

Reviewed by Wenson Hsieh.

* Source/WebCore/PAL/pal/system/ios/UserInterfaceIdiom.mm:
(PAL::updateCurrentUserInterfaceIdiom):
Ensure that we write `Default` to the optional so it is always engaged once updated.

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




More information about the webkit-changes mailing list