commit | 7028443d1d70a2497f315443dfd45a157f300854 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Tue Sep 19 13:07:27 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Sep 19 17:27:09 2017 +0000 |
tree | 2e2724f0e9f2e740930aa997fad187ff3845d0f9 | |
parent | b858da928b5ba20adff914637526b847aea9035f [diff] |
fix race in SkFontHost_mac.cpp We've not got any sort of synchronization guarding gSupportsLCD. If we simply move the work into its initializer, it will happen once in a thread safe way. Change-Id: I86d87bea2850d0ce4d3886069f6f1f968d323343 Reviewed-on: https://skia-review.googlesource.com/48582 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>