commit | 50ca12be56f5c3803b60d6a6a2eafed45316bf09 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 19:56:27 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 19:56:27 2014 +0000 |
tree | 1d7714e39f00c7deb88acb5a7b1fe84124b73bd2 | |
parent | 9f469749bf85e4368520087f33d19d221f3a1285 [diff] |
Statically initialize those zero-size singletons. This way GCC/Clang don't generate the magic static code to call the pointless T::T() once in a threadsafe way. = {} is plenty initialized. BUG=skia:2378 Committed: http://code.google.com/p/skia/source/detail?r=14623 R=bungeman@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/270353003 git-svn-id: http://skia.googlecode.com/svn/trunk@14626 2bbb7eff-a529-9590-31e7-b0007b416f81