[Webkit-unassigned] [Bug 44191] WebKit crash when combining text-rendering and ex units

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 19 01:18:56 PDT 2010


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


zaheer <zaheer.mot at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zaheer.mot at gmail.com




--- Comment #1 from zaheer <zaheer.mot at gmail.com>  2010-08-19 01:18:56 PST ---
It looks like m_fontList is not initialzed in certain cases and that font object gets accessed by the CSS

Setting the fontlist fixes the problem but iam sure there's a better fix


Index: WebCore/platform/graphics/Font.cpp
===================================================================
--- WebCore/platform/graphics/Font.cpp    (revision 65654)
+++ WebCore/platform/graphics/Font.cpp    (working copy)
@@ -65,6 +65,7 @@

 Font::Font(const FontDescription& fd, short letterSpacing, short wordSpacing) 
     : m_fontDescription(fd)
+    , m_fontList(FontFallbackList::create())
     , m_letterSpacing(letterSpacing)
     , m_wordSpacing(wordSpacing)
     , m_isPlatformFont(false)

-- 
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