commit | 81fd299f938176175889df08a5bf95dbf24ab8ea | [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 | 444fb4de73b80595cb94419420c606381a1caa41 | |
parent | f28d884444a389b889b3a65c684a5d78a8339299 [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/src@14397 2bbb7eff-a529-9590-31e7-b0007b416f81