[webkit-changes] [WebKit/WebKit] 10bed2: [web-animations] make all CSSNumberishTime paramet...
Antoine Quint
noreply at github.com
Wed Oct 2 22:24:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 10bed2a6ce97a18bbe4ca6f21516c77300c97d81
https://github.com/WebKit/WebKit/commit/10bed2a6ce97a18bbe4ca6f21516c77300c97d81
Author: Antoine Quint <graouts at 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
More information about the webkit-changes
mailing list