summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSFontFaceSource.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 Chromium 9.0.597.106: Initial merge by GitSteve Block2011-02-161-1/+11
| | | | | | | | | Note that we are tracking the Chromium 9.0.597 release branch, which is WebKit r72805 + stability cherry picks. This corresponds to r78455 on the 597 release branch. Change-Id: I72375d9b61a767449086f0c9dc4105b2a6b62ddc
* Merge WebKit at r72274: Initial merge by git.Russell Brenner2010-12-021-1/+8
| | | | Change-Id: Ie51f0b4a16da82942bd516dce59cfb79ebbe25fb
* Merge Webkit at r70949: Initial merge by git.John Reck2010-11-091-1/+1
| | | | Change-Id: I77b8645c083b5d0da8dba73ed01d4014aab9848e
* Merge WebKit at r67178 : Initial merge by git.Iain Merrick2010-09-161-3/+3
| | | | Change-Id: I57e01163b6866cb029cdadf405a0394a3918bc18
* Merge WebKit at r65072 : Initial merge by git.Ben Murdoch2010-08-121-9/+4
| | | | Change-Id: Ibcf418498376b2660aacb7f8d46ea7085ef91585
* Merge WebKit at r63173 : Initial merge by git.Leon Clarke2010-07-201-3/+5
| | | | Change-Id: Ife5af0c7c6261fbbc8ae6bc08c390efa9ef10b44
* Merge webkit.org at r58033 : Initial merge by gitSteve Block2010-05-111-0/+2
| | | | Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1
* Merge webkit.org at r54731 : Initial merge by gitSteve Block2010-02-161-4/+4
| | | | Change-Id: Ia79977b6cf3b0b00c06ef39419989b28e57e4f4a
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-4/+4
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+193
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-193/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-13/+19
|
* external/webkit r30707Upstream1970-01-121-0/+187