DescriptionSet the skia glyph cache count limit to 64
The skia glyph cache can use up to 4 GDI handles per cache entry (1 HFONT,
1 HBITMAP, 2 HDCs). There's a global (session-wide) limit of GDI handles
at 10k on some version of windows, so we need to keep the per-process handle
count well below this limit to avoid exhaustion. This sets the limit at 64
cache entries so the skia glyph cache will stay under ~256 handles per process.
BUG=314387
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233531
Patch Set 1 #Patch Set 2 : #Messages
Total messages: 9 (0 generated)
|