| Index: views/animation/bounds_animator.cc
|
| ===================================================================
|
| --- views/animation/bounds_animator.cc (revision 74134)
|
| +++ views/animation/bounds_animator.cc (working copy)
|
| @@ -240,10 +240,14 @@
|
| repaint_bounds_.SetRect(0, 0, 0, 0);
|
| }
|
|
|
| - if (observer_ && !IsAnimating()) {
|
| - // Notify here rather than from AnimationXXX to avoid deleting the animation
|
| - // while the animaion is calling us.
|
| - observer_->OnBoundsAnimatorDone(this);
|
| + if (observer_) {
|
| + if (IsAnimating()) {
|
| + observer_->OnBoundsAnimatorProgressed(this);
|
| + } else {
|
| + // Notify here rather than from AnimationXXX to avoid deleting
|
| + // the animation while the animaion is calling us.
|
| + observer_->OnBoundsAnimatorDone(this);
|
| + }
|
| }
|
| }
|
|
|
|
|