Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10bed2a6ce97a18bbe4ca6f21516c77300c97d81
      
https://github.com/WebKit/WebKit/commit/10bed2a6ce97a18bbe4ca6f21516c77300c97d81
  Author: Antoine Quint <grao...@webkit.org>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

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

  Log Message:
  -----------
  [web-animations] make all CSSNumberishTime parameters const references
https://bugs.webkit.org/show_bug.cgi?id=280776
rdar://137146436

Reviewed by Dean Jackson.

Sometimes we use non-const values and sometimes we use `const` references
throughout the `CSSNumberishTime` functions. Let's settle on the latter.

* Source/WebCore/animation/CSSNumberishTime.cpp:
(WebCore::CSSNumberishTime::CSSNumberishTime):
(WebCore::CSSNumberishTime::operator+ const):
(WebCore::CSSNumberishTime::operator- const):
(WebCore::CSSNumberishTime::operator< const):
(WebCore::CSSNumberishTime::operator<= const):
(WebCore::CSSNumberishTime::operator> const):
(WebCore::CSSNumberishTime::operator>= const):
(WebCore::CSSNumberishTime::operator== const):
(WebCore::operator<<):
* Source/WebCore/animation/CSSNumberishTime.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to