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

Issue 9855028: gtk: Fix memory leak in ThemeServiceGtk::LoadGtkValues. (Closed)

Created:
8 years, 8 months ago by tfarina
Modified:
8 years, 8 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

gtk: Fix memory leak in ThemeServiceGtk::LoadGtkValues. BUG=120118 R=erg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=129414

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix other leaks #

Total comments: 4

Patch Set 3 : john review -> more fixes #

Patch Set 4 : rm suppression entry #

Total comments: 1

Patch Set 5 : erg review -> is_default_link_color bool variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -13 lines) Patch
M chrome/browser/ui/gtk/theme_service_gtk.cc View 1 2 3 4 9 chunks +23 lines, -6 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
John Knottenbelt
Thanks for taking this on, Thiago! This does fix the memory leak for me. I ...
8 years, 8 months ago (2012-03-27 09:30:42 UTC) #1
tfarina
On 2012/03/27 09:30:42, John Knottenbelt wrote: > Thanks for taking this on, Thiago! This does ...
8 years, 8 months ago (2012-03-27 13:34:00 UTC) #2
John Knottenbelt
http://codereview.chromium.org/9855028/diff/4001/chrome/browser/ui/gtk/theme_service_gtk.cc File chrome/browser/ui/gtk/theme_service_gtk.cc (right): http://codereview.chromium.org/9855028/diff/4001/chrome/browser/ui/gtk/theme_service_gtk.cc#newcode781 chrome/browser/ui/gtk/theme_service_gtk.cc:781: if (!gdk_color_equal(link_color, &kDefaultLinkColor)) We need to compare address, rather ...
8 years, 8 months ago (2012-03-27 14:45:46 UTC) #3
tfarina
http://codereview.chromium.org/9855028/diff/4001/chrome/browser/ui/gtk/theme_service_gtk.cc File chrome/browser/ui/gtk/theme_service_gtk.cc (right): http://codereview.chromium.org/9855028/diff/4001/chrome/browser/ui/gtk/theme_service_gtk.cc#newcode781 chrome/browser/ui/gtk/theme_service_gtk.cc:781: if (!gdk_color_equal(link_color, &kDefaultLinkColor)) On 2012/03/27 14:45:47, John Knottenbelt wrote: ...
8 years, 8 months ago (2012-03-27 15:29:06 UTC) #4
John Knottenbelt
LGTM. Thanks Thiago!
8 years, 8 months ago (2012-03-27 15:37:08 UTC) #5
John Knottenbelt
https://chromiumcodereview.appspot.com/9491009/ just landed which added a suppression for this bug in tools/valgrind/memcheck/suppressions.txt - See https://chromiumcodereview.appspot.com/9491009/diff/41001/tools/valgrind/memcheck/suppressions.txt ...
8 years, 8 months ago (2012-03-27 16:43:00 UTC) #6
tfarina
On 2012/03/27 16:43:00, John Knottenbelt wrote: > https://chromiumcodereview.appspot.com/9491009/ just landed which added a > suppression ...
8 years, 8 months ago (2012-03-27 17:01:26 UTC) #7
Elliot Glaysher
lgtm http://codereview.chromium.org/9855028/diff/8002/chrome/browser/ui/gtk/theme_service_gtk.cc File chrome/browser/ui/gtk/theme_service_gtk.cc (right): http://codereview.chromium.org/9855028/diff/8002/chrome/browser/ui/gtk/theme_service_gtk.cc#newcode781 chrome/browser/ui/gtk/theme_service_gtk.cc:781: if (link_color && link_color != &kDefaultLinkColor) Better to ...
8 years, 8 months ago (2012-03-27 21:43:00 UTC) #8
tfarina
On 2012/03/27 21:43:00, Elliot Glaysher wrote: > lgtm > > http://codereview.chromium.org/9855028/diff/8002/chrome/browser/ui/gtk/theme_service_gtk.cc > File chrome/browser/ui/gtk/theme_service_gtk.cc (right): ...
8 years, 8 months ago (2012-03-27 22:27:00 UTC) #9
Elliot Glaysher
slgtm
8 years, 8 months ago (2012-03-27 22:29:02 UTC) #10
John Knottenbelt
8 years, 8 months ago (2012-03-28 05:41:40 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698