summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSSegmentedFontFace.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Custom font was appearing all white in BooksRussell Brenner2011-03-141-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is a strategic rollback of a previous change: https://android-git.corp.google.com/g/#change,99977 Although that change fixes a browser crash, it introduces a problematic UI situation in Books. The browser crash is rare, but keeps some web pages from being usable. Nonetheless, upon failure, the browser will shutdown and can be relaunched for other sites. Another potential point of failure for this crash has been identified, with a solution to follow in a separate CL. From discussion with Bart it was decided that the rare browser crash is less problematic than the usability problem incurred with a book containing blank pages, and so, regardless of whether or not the resulting browser crash is fixed, this change needs to be rolled back. With any luck, however, both issues will be fixed. (See also http://b/3469204.) Bug: 4064041 Change-Id: I3416f9e9ae728a99dd84d3df8b0f8d0c0876dbad
* Fixed 3469204: Crash using downloaded fontsRussell Brenner2011-03-041-1/+6
| | | | | | | | | | | | | | | | | | | | This change is still pending upstream, but is being applied here now to make it into M1 before lockdown. Track the WebKit change at: https://bugs.webkit.org/show_bug.cgi?id=54758 When font downloading completes, CSSFontFaceSource::fontLoaded() and CSSSegmentedFontFace::fontLoaded() called pruneTable() to reclaim GlyphPageTreeNode memory. On Android, downloading and rendering are on different threads and these GlyphPageTreeNodes may still be in use on the UI thread. This change defers freeing those GlyphPageTreeNodes until CSSFontFaceSource and CSSSegmentedFontFace are destroyed, which occurs on the UI thread in response to Document::scheduleForcedStyleRecalc(), which was called by CSSFontSelector::fontLoaded(). Change-Id: Ica74e5be92c00b8c761f5d29a2310c46e62fd9eb
* Merge WebKit at r72274: Initial merge by git.Russell Brenner2010-12-021-1/+1
| | | | Change-Id: Ie51f0b4a16da82942bd516dce59cfb79ebbe25fb
* Merge WebKit at r63859 : Initial merge by git.Ben Murdoch2010-07-271-13/+6
| | | | Change-Id: Ie8096c63ec7c991c9a9cba8bdd9c3b74a3b8ed62
* Merge WebKit at r63173 : Initial merge by git.Leon Clarke2010-07-201-3/+3
| | | | Change-Id: Ife5af0c7c6261fbbc8ae6bc08c390efa9ef10b44
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-1/+0
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+136
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-136/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-30/+27
|
* Initial ContributionThe Android Open Source Project2008-10-211-2/+1
|
* external/webkit r30707Upstream1970-01-121-0/+140