[webkit-changes] [WebKit/WebKit] 6a75a4: Remove serialization keyword NoForwardDeclaration

Alex Christensen noreply at github.com
Mon May 22 20:29:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a75a47bd571b5ae5f0d7dd16527883ed80bb772
      https://github.com/WebKit/WebKit/commit/6a75a47bd571b5ae5f0d7dd16527883ed80bb772
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Remove serialization keyword NoForwardDeclaration
https://bugs.webkit.org/show_bug.cgi?id=257145
rdar://109672374

Reviewed by Sihui Liu.

It's not needed and slows down the build.
Use [Nested] instead because the one place it is used is for a nested class.

* Source/WebKit/Scripts/generate-serializers.py:
(SerializedType.__init__):
(alias_struct_or_class):
(generate_header):
(generate_impl):
(parse_serialized_types):
(generate_headers_for_header): Deleted.
* Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.cpp:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list