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