commit | 37a6a8c0d431076bba8d42b098c70beae1b54b14 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 19:15:01 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 07 19:15:01 2014 +0000 |
tree | 58acb25f9bfca2182bea4128f316711293bb6ef2 | |
parent | 08bf86c56495b6779001b5756839fc2c73decba3 [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 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@14623 2bbb7eff-a529-9590-31e7-b0007b416f81