diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/animation/bounds_animator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/animation/bounds_animator.cc b/views/animation/bounds_animator.cc index 3a88242..65ba415 100644 --- a/views/animation/bounds_animator.cc +++ b/views/animation/bounds_animator.cc @@ -28,7 +28,7 @@ BoundsAnimator::~BoundsAnimator() { // Delete all the animations, but don't remove any child views. We assume the // view owns us and is going to be deleted anyway. for (ViewToDataMap::iterator i = data_.begin(); i != data_.end(); ++i) - delete i->second.animation; + CleanupData(&(i->second)); } void BoundsAnimator::AnimateViewTo(View* view, |