DescriptionStatically 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
Committed: http://code.google.com/p/skia/source/detail?r=14626
Patch Set 1 #Patch Set 2 : disable warning #
Messages
Total messages: 9 (0 generated)
|