| Index: ui/compositor/layer_animator.cc
|
| diff --git a/ui/compositor/layer_animator.cc b/ui/compositor/layer_animator.cc
|
| index 8ff636bbcac306dbace2ef86aeac2b689f4cc46b..285f83678beafe4ab8f18bca6507495ebadcf940 100644
|
| --- a/ui/compositor/layer_animator.cc
|
| +++ b/ui/compositor/layer_animator.cc
|
| @@ -597,7 +597,7 @@ void LayerAnimator::RemoveAllAnimationsWithACommonProperty(
|
| if (!SAFE_INVOKE_BOOL(HasAnimation, running_animations_copy[i]))
|
| continue;
|
|
|
| - if (running_animations_copy[i].sequence()->HasCommonProperty(
|
| + if (running_animations_copy[i].sequence()->HasConflictingProperty(
|
| sequence->properties())) {
|
| scoped_ptr<LayerAnimationSequence> removed(
|
| SAFE_INVOKE_PTR(RemoveAnimation, running_animations_copy[i]));
|
| @@ -619,7 +619,7 @@ void LayerAnimator::RemoveAllAnimationsWithACommonProperty(
|
| if (!sequences[i] || !HasAnimation(sequences[i]))
|
| continue;
|
|
|
| - if (sequences[i]->HasCommonProperty(sequence->properties())) {
|
| + if (sequences[i]->HasConflictingProperty(sequence->properties())) {
|
| scoped_ptr<LayerAnimationSequence> removed(RemoveAnimation(sequences[i]));
|
| if (abort)
|
| sequences[i]->Abort(delegate());
|
| @@ -737,7 +737,7 @@ void LayerAnimator::ProcessQueue() {
|
| if (!sequences[i] || !HasAnimation(sequences[i]))
|
| continue;
|
|
|
| - if (!sequences[i]->HasCommonProperty(animated)) {
|
| + if (!sequences[i]->HasConflictingProperty(animated)) {
|
| StartSequenceImmediately(sequences[i].get());
|
| started_sequence = true;
|
| break;
|
| @@ -765,7 +765,7 @@ bool LayerAnimator::StartSequenceImmediately(LayerAnimationSequence* sequence) {
|
| // Ensure that no one is animating one of the sequence's properties already.
|
| for (RunningAnimations::const_iterator iter = running_animations_.begin();
|
| iter != running_animations_.end(); ++iter) {
|
| - if ((*iter).sequence()->HasCommonProperty(sequence->properties()))
|
| + if ((*iter).sequence()->HasConflictingProperty(sequence->properties()))
|
| return false;
|
| }
|
|
|
|
|