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)
commit6fe96995dd64117349d65f0c935b4664c20e88a8
tree5df9ae4440598ec45843b2e481d824f13e113162
parent54413b61492c2e55069c7c36d9d6cfefd9abca69
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: http://svn.webkit.org/repository/webkit/trunk@95576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/FontPlatformDataChromiumWin.cpp