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

Issue 502072: Put the fontconfig FcFini call in the PlatformShutdown() method instead of... (Closed)

Created:
11 years ago by plz use chromium.org account
Modified:
9 years, 7 months ago
Reviewers:
Evan Martin
CC:
chromium-reviews_googlegroups.com, darin (slow to review), pam+watch_chromium.org
Visibility:
Public.

Description

Put the fontconfig FcFini call in the PlatformShutdown() method instead of PlatformCleanUp(). The latter is called multiple times, which results in fontconfig being shutdown too early. Fixes buildbot failure introduced in revision 34945. BUG=9245 TEST=Run test_shell using valgrind. Memory leaks related to fontconfig should drop from around 138079 bytes to around 24573 bytes. Also use valgrind to check for invalid reads. Patch from Jochen Eisinger <eisinger@google.com>;. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34961

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M webkit/tools/test_shell/test_shell_gtk.cc View 2 chunks +1 line, -1 line 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698