[webkit-changes] [WebKit/WebKit] 9964bd: Move SVGAnimationColorFunction::calculateDistance ...

Tim Nguyen noreply at github.com
Tue Sep 20 03:57:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9964bd3ce38f3d2275be51cc55a38c4db1994826
      https://github.com/WebKit/WebKit/commit/9964bd3ce38f3d2275be51cc55a38c4db1994826
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.cpp
    M Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h

  Log Message:
  -----------
  Move SVGAnimationColorFunction::calculateDistance impl to cpp file
https://bugs.webkit.org/show_bug.cgi?id=245419
<rdar://100165366>

Reviewed by Antti Koivisto.

In preparation of the refactoring of changing Color to StyleColor.

* Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.cpp:
(WebCore::SVGAnimationColorFunction::calculateDistance const): Added.
* Source/WebCore/svg/properties/SVGAnimationAdditiveValueFunctionImpl.h:
(WebCore::SVGAnimationColorFunction::animate):

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




More information about the webkit-changes mailing list