Skip to content

Commit

Permalink
[web-animations] add missing `DECLARE/DEFINE_ALLOCATOR_WITH_HEAP_IDEN…
Browse files Browse the repository at this point in the history
…TIFIER` for `NonNormalizedDiscretePropertyWrapper`

https://bugs.webkit.org/show_bug.cgi?id=270459

Reviewed by Chris Dumez.

We forgot to add `DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER` and `DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER`
calls when we added `NonNormalizedDiscretePropertyWrapper` in 273742@main.

* Source/WebCore/animation/CSSPropertyAnimation.cpp:

Canonical link: https://commits.webkit.org/275644@main
  • Loading branch information
graouts committed Mar 4, 2024
1 parent b0b9844 commit 052dae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/animation/CSSPropertyAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3582,6 +3582,7 @@ class CSSPropertyAnimationWrapperMap final {
};
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(CSSPropertyAnimationWrapperMap);

DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(NonNormalizedDiscretePropertyWrapper);
template <typename T>
class NonNormalizedDiscretePropertyWrapper final : public PropertyWrapper<T> {
WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(NonNormalizedDiscretePropertyWrapper);
Expand All @@ -3595,6 +3596,7 @@ class NonNormalizedDiscretePropertyWrapper final : public PropertyWrapper<T> {
bool canInterpolate(const RenderStyle&, const RenderStyle&, CompositeOperation) const final { return false; }
bool normalizesProgressForDiscreteInterpolation() const final { return false; }
};
DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(NonNormalizedDiscretePropertyWrapper);

CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap()
{
Expand Down

0 comments on commit 052dae3

Please sign in to comment.