Chromium Code Reviews| Index: Source/core/animation/AnimationStack.cpp |
| diff --git a/Source/core/animation/AnimationStack.cpp b/Source/core/animation/AnimationStack.cpp |
| index c48e914f59c4a7c12a73feeb32449974d0c4cacc..09bceb2d9da9620bb43f25567daace0cd444f5bd 100644 |
| --- a/Source/core/animation/AnimationStack.cpp |
| +++ b/Source/core/animation/AnimationStack.cpp |
| @@ -47,6 +47,14 @@ void copyToCompositableValueMap(const AnimationEffect::CompositableValueMap* sou |
| } // namespace |
| +bool AnimationStack::affects(CSSPropertyID property) const |
| +{ |
| + for (size_t i = 0; i < m_activeAnimations.size(); ++i) |
|
Steve Block
2013/11/18 05:03:03
Needs braces
dstockwell
2013/11/18 05:30:34
Done.
|
| + if (m_activeAnimations[i]->affects(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; |