Descriptionnamespace {} trick for SK_DECLARE_STATIC_ONCE
Like all our other SK_DECLARE_STATIC_*, it's usually not a thread-safe
thing to put inside a function. Adding namespace {} prevents that
syntactically.
Needs https://codereview.chromium.org/841263004/ to land first.
BUG=chromium:447890
No public API changes.
TBR=reed@google.com
Committed: https://skia.googlesource.com/skia/+/199ba8e19b0cafb37eea3beab162bc4b52728fff
Patch Set 1 #
Total comments: 1
Messages
Total messages: 7 (2 generated)
|