[webkit-changes] [WebKit/WebKit] 70f24d: Support various WebCore size/point types in the se...

Gavin noreply at github.com
Wed Sep 21 06:51:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 70f24d86a5234b0cc0fb288018d209fdeebc765e
      https://github.com/WebKit/WebKit/commit/70f24d86a5234b0cc0fb288018d209fdeebc765e
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M Source/WebCore/platform/LayoutUnit.h
    M Source/WebCore/platform/graphics/FloatRoundedRect.h
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Support various WebCore size/point types in the serialization interface files.
https://bugs.webkit.org/show_bug.cgi?id=245128
<rdar://problem/99863456>

Reviewed by Alex Christensen.

This change adds support for various WebCore size/point types in the new
serialization interface files. This includes:
    * FloatRoundedRect
    * IntRect
    * IntPoint
    * IntSize
    * FloatSize
    * layoutUnit
    * LayoutPoint
    * LayoutSize

* Source/WebCore/platform/LayoutUnit.h:
(WebCore::LayoutUnit::fromRawValue):
* Source/WebCore/platform/graphics/FloatRoundedRect.h:
* Source/WebKit/Scripts/generate-serializers.py:
(SerializedType.__init__):
(generate_cpp):
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
* Source/WebKit/Shared/WebCoreArgumentCoders.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list