[webkit-changes] [WebKit/WebKit] 96550a: [web-animations] improve FilterOperations copy cod...

Antoine Quint noreply at github.com
Thu Mar 9 12:25:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 96550ab8a6fb4d854961e6841d9385ff10f9a1c8
      https://github.com/WebKit/WebKit/commit/96550ab8a6fb4d854961e6841d9385ff10f9a1c8
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/animation/AcceleratedEffectValues.cpp
    M Source/WebCore/platform/graphics/filters/FilterOperations.h

  Log Message:
  -----------
  [web-animations] improve FilterOperations copy code in AcceleratedEffectValues
https://bugs.webkit.org/show_bug.cgi?id=253569

Reviewed by Dean Jackson.

Add a setter for operations on FilterOperations and use map to create a new set
of operations where we call copyRef() on each operation.

* Source/WebCore/platform/animation/AcceleratedEffectValues.cpp:
(WebCore::AcceleratedEffectValues::AcceleratedEffectValues):
* Source/WebCore/platform/graphics/filters/FilterOperations.h:
(WebCore::FilterOperations::setOperations):

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




More information about the webkit-changes mailing list