| Index: Source/core/animation/AnimationStack.cpp
|
| diff --git a/Source/core/animation/AnimationStack.cpp b/Source/core/animation/AnimationStack.cpp
|
| index c48e914f59c4a7c12a73feeb32449974d0c4cacc..e849c95fb70c6cd00d7a7079696b5f9fb17d9fd8 100644
|
| --- a/Source/core/animation/AnimationStack.cpp
|
| +++ b/Source/core/animation/AnimationStack.cpp
|
| @@ -47,6 +47,24 @@ void copyToCompositableValueMap(const AnimationEffect::CompositableValueMap* sou
|
|
|
| } // namespace
|
|
|
| +bool AnimationStack::affects(CSSPropertyID property) const
|
| +{
|
| + for (size_t i = 0; i < m_activeAnimations.size(); ++i) {
|
| + if (m_activeAnimations[i]->affects(property))
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +bool AnimationStack::hasActiveAnimationsOnCompositor(CSSPropertyID property) const
|
| +{
|
| + for (size_t i = 0; i < m_activeAnimations.size(); ++i) {
|
| + if (m_activeAnimations[i]->hasActiveAnimationsOnCompositor(property))
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| AnimationEffect::CompositableValueMap AnimationStack::compositableValues(const AnimationStack* animationStack, const Vector<InertAnimation*>* newAnimations, const HashSet<const Player*>* cancelledPlayers, Animation::Priority priority)
|
| {
|
| AnimationEffect::CompositableValueMap result;
|
|
|