Early out from FontCache::releaseFontData if cached font data not found.
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Wed, 23 Jan 2013 15:06:34 +0000 (16:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 23 Jan 2013 17:59:32 +0000 (18:59 +0100)
commit4bf31f298fa3d49bd56abfd52e5d1693fa7ed554
treea44d70feb5a111912f52f45ea78c253f88cdea77
parent344fe6c13f8cfa63b512f558aeb90d8fe9bff990
Early out from FontCache::releaseFontData if cached font data not found.

https://bugs.webkit.org/show_bug.cgi?id=106104

Patch by John Mellor <johnme@chromium.org> on 2013-01-04
Reviewed by Abhishek Arya.

No tests, as no change in behavior.

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::releaseFontData):
    Early out in release builds if cached font data not found.

Change-Id: Iabf218a7fd001588831b331afb49e2de3a314a2a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/FontCache.cpp