[webkit-changes] [WebKit/WebKit] d84ac5: AlternativeTextType as enum class with EnumTraits ...

EWS noreply at github.com
Sun Dec 4 12:39:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d84ac58bd76d15e40b36f215e7c8ecae110686d2
      https://github.com/WebKit/WebKit/commit/d84ac58bd76d15e40b36f215e7c8ecae110686d2
  Author: Angela Izquierdo Garcia <aizquierdogarcia at apple.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    A LayoutTests/ipc/webpageproxy-correctionpanel-no-crash-expected.txt
    A LayoutTests/ipc/webpageproxy-correctionpanel-no-crash.html
    M Source/WebCore/editing/AlternativeTextController.cpp
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/page/AlternativeTextClient.h
    M Source/WebKit/Scripts/webkit/messages.py
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.messages.in
    M Source/WebKit/UIProcess/mac/CorrectionPanel.mm
    M Source/WebKitLegacy/mac/WebCoreSupport/CorrectionPanel.mm

  Log Message:
  -----------
  AlternativeTextType as enum class with EnumTraits and serialization
https://bugs.webkit.org/show_bug.cgi?id=248174
rdar://102309622

Making AlternativeTextType an enum class with EnumTraits and serialize it instead of casting to/from an int32_t. Prevents from assertion failure in void _NSWindowSetFrameIvar

Reviewed by Youenn Fablet

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




More information about the webkit-changes mailing list