[webkit-changes] [WebKit/WebKit] fd75c7: Add encoding and decoding support for PathOperation

Antoine Quint noreply at github.com
Tue Dec 13 22:33:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fd75c72c681f7918ffcd26ecdb52f6a72d8ed423
      https://github.com/WebKit/WebKit/commit/fd75c72c681f7918ffcd26ecdb52f6a72d8ed423
  Author: Antoine Quint <graouts at apple.com>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M Source/WebCore/rendering/PathOperation.cpp
    M Source/WebCore/rendering/PathOperation.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Add encoding and decoding support for PathOperation
https://bugs.webkit.org/show_bug.cgi?id=249234

Reviewed by Alex Christensen.

Straightforward encoding work except for ReferencePathOperation where we resolve the Path
and store it.

* Source/WebCore/rendering/PathOperation.cpp:
(WebCore::ReferencePathOperation::create):
(WebCore::ReferencePathOperation::ReferencePathOperation):
(WebCore::ReferencePathOperation::path const):
(WebCore::RayPathOperation::create):
(WebCore::ReferencePathOperation::getPath const): Deleted.
* Source/WebCore/rendering/PathOperation.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list