commit | 4598fc3c123cd8af1dac5596f955a375186a31f3 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Mon Jul 13 06:15:36 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jul 13 06:15:36 2015 -0700 |
tree | bc117af2acc040f14a5e3ab4c849ea863fa1db37 | |
parent | bd3e8cb42c50e7250e75452cd7f5cddc0b574de3 [diff] |
Use SK_DECLARE_STATIC_MUTEX for global mutex. This initializes the mutex at link time on non-Windows platforms, rather than at pre-main-runtime like `static SkMutex gFoo;` BUG=skia: Review URL: https://codereview.chromium.org/1226403007