commit | b6ad00b17f1c983707013f7adec54bca72c0917b | [log] [tgz] |
---|---|---|
author | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 28 13:58:35 2014 +0000 |
committer | bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 28 13:58:35 2014 +0000 |
tree | 28e777fcc1c5547f85311cc8f211ec4fd9c4520d | |
parent | 2349a1e3695578d1c000788ba6d3812d7b03bf82 [diff] |
Create SkGlyphCache globals with SkOnce. VC++ will have magic statics with VS2014, but does not currently have them. The thread unsafe implementation was causing the DirectWrite bots to randomly crash when running multi-threaded tests, as gGlobals could be seen as NULL. R=mtklein@google.com Review URL: https://codereview.chromium.org/252713002 git-svn-id: http://skia.googlecode.com/svn/trunk@14397 2bbb7eff-a529-9590-31e7-b0007b416f81