Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e92b798c222801e991cf39aa378593bbc7f325e
      
https://github.com/WebKit/WebKit/commit/5e92b798c222801e991cf39aa378593bbc7f325e
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp
    M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h
    M Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp
    M Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in
    M Source/WebKit/Shared/mac/WebHitTestResultPlatformData.serialization.in

  Log Message:
  -----------
  Don't call getDDActionContextClass if we don't have a DDActionContext to 
decode
https://bugs.webkit.org/show_bug.cgi?id=248931
rdar://103099864

Reviewed by Aditya Keerthi.

This fixes a regression from 257087@main, before which we would only call 
getDDActionContextClass
if hasActionContext was true.  This restores equivalent behavior by supporting 
the Nullable attribute
when encoding soft linked ObjC classes.

* Source/WebKit/Scripts/generate-serializers.py:
(decode_type):
* Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp:
(IPC::ArgumentCoder<NullableSoftLinkedMember>::encode):
(IPC::ArgumentCoder<NullableSoftLinkedMember>::decode):
* Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h:
* Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp:
(WebKit::allSerializedTypes):
* Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in:
* Source/WebKit/Shared/mac/WebHitTestResultPlatformData.serialization.in:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to