Title: [152563] trunk/Source/WebCore
- Revision
- 152563
- Author
- [email protected]
- Date
- 2013-07-11 03:28:43 -0700 (Thu, 11 Jul 2013)
Log Message
[Qt] memory leak in WebCore::FontCache::getLastResortFallbackFont
https://bugs.webkit.org/show_bug.cgi?id=118532
Patch by Fabienne Semeria <[email protected]> on 2013-07-11
Reviewed by Allan Sandfeld Jensen.
* platform/graphics/qt/FontCacheQt.cpp:
(WebCore::FontCache::getLastResortFallbackFont):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152562 => 152563)
--- trunk/Source/WebCore/ChangeLog 2013-07-11 09:09:10 UTC (rev 152562)
+++ trunk/Source/WebCore/ChangeLog 2013-07-11 10:28:43 UTC (rev 152563)
@@ -1,3 +1,13 @@
+2013-07-11 Fabienne Semeria <[email protected]>
+
+ [Qt] memory leak in WebCore::FontCache::getLastResortFallbackFont
+ https://bugs.webkit.org/show_bug.cgi?id=118532
+
+ Reviewed by Allan Sandfeld Jensen.
+
+ * platform/graphics/qt/FontCacheQt.cpp:
+ (WebCore::FontCache::getLastResortFallbackFont):
+
2013-07-11 Mario Sanchez Prada <[email protected]>
[ATK] Refactor code for translating offsets between WebCore a11y and ATK
Modified: trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp (152562 => 152563)
--- trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp 2013-07-11 09:09:10 UTC (rev 152562)
+++ trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp 2013-07-11 10:28:43 UTC (rev 152563)
@@ -76,7 +76,7 @@
PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
{
const AtomicString fallbackFamily = QFont(fontDescription.firstFamily()).lastResortFamily();
- return getCachedFontData(new FontPlatformData(fontDescription, fallbackFamily), shouldRetain);
+ return getCachedFontData(fontDescription, fallbackFamily, false, shouldRetain);
}
void FontCache::getTraitsInFamily(const AtomicString&, Vector<unsigned>&)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes