| Index: ui/views/animation/bounds_animator.cc
|
| diff --git a/ui/views/animation/bounds_animator.cc b/ui/views/animation/bounds_animator.cc
|
| index 3f0e65fd0f0d3adcebc6bacf5abd06c3612b2342..78c22580454f5167c5d9aa77bebe45ede14d9ace 100644
|
| --- a/ui/views/animation/bounds_animator.cc
|
| +++ b/ui/views/animation/bounds_animator.cc
|
| @@ -264,16 +264,14 @@ void BoundsAnimator::AnimationContainerProgressed(
|
| repaint_bounds_.SetRect(0, 0, 0, 0);
|
| }
|
|
|
| - FOR_EACH_OBSERVER(BoundsAnimatorObserver,
|
| - observers_,
|
| - OnBoundsAnimatorProgressed(this));
|
| + for (BoundsAnimatorObserver& observer : observers_)
|
| + observer.OnBoundsAnimatorProgressed(this);
|
|
|
| if (!IsAnimating()) {
|
| // Notify here rather than from AnimationXXX to avoid deleting the animation
|
| // while the animation is calling us.
|
| - FOR_EACH_OBSERVER(BoundsAnimatorObserver,
|
| - observers_,
|
| - OnBoundsAnimatorDone(this));
|
| + for (BoundsAnimatorObserver& observer : observers_)
|
| + observer.OnBoundsAnimatorDone(this);
|
| }
|
| }
|
|
|
|
|