In SkGlyphCache::AttachCache most of the code uses the globals from a
getGlobals() call, which is correct. There is currently one line which calls
SkGraphics::GetFontCacheLimit() which is returning values on the shared globals
which is a different object (and has a different lifetime). This was causing
crashes when using large numbers of threads. Use just the globals we already
have.
Issue 6816052: Use consistent globals in AttachCache.
(Closed)
Created 12 years ago by bungeman
Modified 12 years ago
Reviewers: Leon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0