diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-04 21:45:37 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-04 21:45:37 +0000 |
commit | 88d2c3f243ff9555492a925ebdb612d9e8bfa87a (patch) | |
tree | b807420e912dde39a600386bd4a0161149133ee5 /views/animation | |
parent | 23900e84fdd008e5214c75c986d76aeb88b46d39 (diff) | |
download | chromium_src-88d2c3f243ff9555492a925ebdb612d9e8bfa87a.zip chromium_src-88d2c3f243ff9555492a925ebdb612d9e8bfa87a.tar.gz chromium_src-88d2c3f243ff9555492a925ebdb612d9e8bfa87a.tar.bz2 |
Fixes leak in boundsanimator.
BUG=none
TEST=none
TBR=jcivelli@chromium.org
Review URL: http://codereview.chromium.org/1576017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/animation')
-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, |