[Webkit-unassigned] [Bug 54758] Crash when laying out page with loaded fonts (intermittent)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 18 11:08:32 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=54758
--- Comment #1 from Russell Brenner <russell at android.com> 2011-02-18 11:08:32 PST ---
Created an attachment (id=82984)
--> (https://bugs.webkit.org/attachment.cgi?id=82984&action=review)
proposed patch
This patch simply removes the calls to pruneTable() at the moment that the font download is completed, deferring pruning until destruction of the owner.
Element::recalcStyle triggers ~Font, which leads to FontCache::removeClient, which leads to ~CSSSegmentedFontFace and ~CSSFontFaceSource, each of which calls pruneTable at a time when it appears safe to do so.
This patch is #ifdef'ed for Android, but I believe it to be safe for all platforms.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list