Use DEFINE_STATIC_LOCAL to intentionally leak the static RefCountedHFONT object retur...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 22:39:38 +0000 (22:39 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 22:39:38 +0000 (22:39 +0000)
commit506d1920b48d2984c79bbfdcf310b5c786dfa53d
tree5df9ae4440598ec45843b2e481d824f13e113162
parenteb0b32fbd3cebd0d20941814d2de695c578e946f
Use DEFINE_STATIC_LOCAL to intentionally leak the static RefCountedHFONT object returned from
FontPlatformData::hashTableDeletedFontValue() to avoid global destructor ordering problems.
https://bugs.webkit.org/show_bug.cgi?id=67906

Patch by Marshall Greenblatt <marshall@chromium.org> on 2011-09-20
Reviewed by Adam Barth.

* platform/graphics/chromium/FontPlatformDataChromiumWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp