Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 9371007: Fix a memory leak in the layer animator (Closed)

Created:
8 years, 10 months ago by Ian Vollick
Modified:
8 years, 10 months ago
Reviewers:
oshima, sky
CC:
chromium-reviews, piman+watch_chromium.org, dhollowa+watch_chromium.org, jonathan.backer, oshima
Visibility:
Public.

Description

Fix a memory leak in the layer animator Ensure that the new sequence is destroyed when using the IMMEDIATELY_SET_NEW_TARGET preemption strategy. BUG=113276 TEST=compositor_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121271

Patch Set 1 #

Patch Set 2 : Remove valgrind suppression #

Total comments: 9

Patch Set 3 : . #

Patch Set 4 : Fixed a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -23 lines) Patch
M tools/valgrind/memcheck/suppressions.txt View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
M ui/gfx/compositor/layer_animator.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/compositor/layer_animator_unittest.cc View 1 2 3 2 chunks +63 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Ian Vollick
8 years, 10 months ago (2012-02-09 02:36:27 UTC) #1
oshima
I'll take a look at tonight. Can you revert suppression as well? - oshima On ...
8 years, 10 months ago (2012-02-09 02:38:43 UTC) #2
Ian Vollick
On 2012/02/09 02:38:43, oshima wrote: > I'll take a look at tonight. Can you revert ...
8 years, 10 months ago (2012-02-09 02:45:49 UTC) #3
sky
https://chromiumcodereview.appspot.com/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt File tools/valgrind/memcheck/suppressions.txt (right): https://chromiumcodereview.appspot.com/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt#newcode4899 tools/valgrind/memcheck/suppressions.txt:4899: fun:_ZN15BalloonViewHost4InitEP10_GtkWidget Is this change intentional? https://chromiumcodereview.appspot.com/9371007/diff/1003/ui/gfx/compositor/layer_animator.cc File ui/gfx/compositor/layer_animator.cc (right): ...
8 years, 10 months ago (2012-02-09 03:48:55 UTC) #4
oshima
http://codereview.chromium.org/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt File tools/valgrind/memcheck/suppressions.txt (right): http://codereview.chromium.org/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt#newcode4899 tools/valgrind/memcheck/suppressions.txt:4899: fun:_ZN15BalloonViewHost4InitEP10_GtkWidget On 2012/02/09 03:48:56, sky wrote: > Is this ...
8 years, 10 months ago (2012-02-09 07:46:02 UTC) #5
Ian Vollick
On 2012/02/09 03:48:55, sky wrote: > https://chromiumcodereview.appspot.com/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt > File tools/valgrind/memcheck/suppressions.txt (right): > > https://chromiumcodereview.appspot.com/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt#newcode4899 > ...
8 years, 10 months ago (2012-02-09 15:06:24 UTC) #6
Ian Vollick
On 2012/02/09 07:46:02, oshima wrote: > http://codereview.chromium.org/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt > File tools/valgrind/memcheck/suppressions.txt (right): > > http://codereview.chromium.org/9371007/diff/1003/tools/valgrind/memcheck/suppressions.txt#newcode4899 > ...
8 years, 10 months ago (2012-02-09 15:06:57 UTC) #7
oshima
lgtm
8 years, 10 months ago (2012-02-09 15:34:08 UTC) #8
sky
LGTM
8 years, 10 months ago (2012-02-09 16:52:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/9371007/7002
8 years, 10 months ago (2012-02-09 17:35:44 UTC) #10
commit-bot: I haz the power
8 years, 10 months ago (2012-02-09 19:53:15 UTC) #11
Change committed as 121271

Powered by Google App Engine
This is Rietveld 408576698