[webkit-changes] [WebKit/WebKit] 78b297: [web-animations] KeyframeEffect::setBlendingKeyfra...

Antoine Quint noreply at github.com
Fri Feb 3 13:42:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 78b297d677ce938e9bf5eaaa1bbf7fde59b9d195
      https://github.com/WebKit/WebKit/commit/78b297d677ce938e9bf5eaaa1bbf7fde59b9d195
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/animation/KeyframeEffect.h

  Log Message:
  -----------
  [web-animations] KeyframeEffect::setBlendingKeyframes() should take in an rvalue reference
https://bugs.webkit.org/show_bug.cgi?id=251717

Reviewed by Simon Fraser.

This method's purpose is to provide a KeyframeList that KeyframeEffect will take
ownership of, so it should be an rvalue reference.

* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::copyPropertiesFromSource):
(WebCore::KeyframeEffect::updateBlendingKeyframes):
(WebCore::KeyframeEffect::setBlendingKeyframes):
(WebCore::KeyframeEffect::computeCSSAnimationBlendingKeyframes):
(WebCore::KeyframeEffect::computeCSSTransitionBlendingKeyframes):
* Source/WebCore/animation/KeyframeEffect.h:

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




More information about the webkit-changes mailing list