Title: [153998] trunk/Source/WebCore
Revision
153998
Author
[email protected]
Date
2013-08-13 05:14:42 -0700 (Tue, 13 Aug 2013)

Log Message

Unreviewed, rolling out r152563.
http://trac.webkit.org/changeset/152563
https://bugs.webkit.org/show_bug.cgi?id=119740

causes random crashes (Requested by carewolf on #webkit).

* platform/graphics/qt/FontCacheQt.cpp:
(WebCore::FontCache::getLastResortFallbackFont):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153997 => 153998)


--- trunk/Source/WebCore/ChangeLog	2013-08-13 09:16:40 UTC (rev 153997)
+++ trunk/Source/WebCore/ChangeLog	2013-08-13 12:14:42 UTC (rev 153998)
@@ -1,3 +1,14 @@
+2013-08-13  Commit Queue  <[email protected]>
+
+        Unreviewed, rolling out r152563.
+        http://trac.webkit.org/changeset/152563
+        https://bugs.webkit.org/show_bug.cgi?id=119740
+
+        causes random crashes (Requested by carewolf on #webkit).
+
+        * platform/graphics/qt/FontCacheQt.cpp:
+        (WebCore::FontCache::getLastResortFallbackFont):
+
 2013-08-13  Andrei Bucur  <[email protected]>
 
         Unreviewed.

Modified: trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp (153997 => 153998)


--- trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp	2013-08-13 09:16:40 UTC (rev 153997)
+++ trunk/Source/WebCore/platform/graphics/qt/FontCacheQt.cpp	2013-08-13 12:14:42 UTC (rev 153998)
@@ -76,7 +76,7 @@
 PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(const FontDescription& fontDescription, ShouldRetain shouldRetain)
 {
     const AtomicString fallbackFamily = QFont(fontDescription.firstFamily()).lastResortFamily();
-    return getCachedFontData(fontDescription, fallbackFamily, false, shouldRetain);
+    return getCachedFontData(new FontPlatformData(fontDescription, fallbackFamily), shouldRetain);
 }
 
 void FontCache::getTraitsInFamily(const AtomicString&, Vector<unsigned>&)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to