aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuColorFilterTest.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-10-13 12:53:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-13 12:53:28 -0700
commitcad5d3e264535c919b80e1e2a85407307961f221 (patch)
treebbd7954560bfbda9749e7cf2ba2903980f0e741f /tests/GpuColorFilterTest.cpp
parentc09e2af17fab03d3d36c20e5201a560c3e4c233e (diff)
No threadsafe statics.
Chrome disables these for speed and code size, so we need to disable them to make sure our code is safe when used this way. int foo() { static int32_t atomic_thing; return sk_atomic_inc(&atomic_thing); } is not safe in Chrome. Making the static global is: static int32_t atomic_thing; int foo() { return sk_atomic_inc(&atomic_thing); } BUG=skia: Review URL: https://codereview.chromium.org/654663002
Diffstat (limited to 'tests/GpuColorFilterTest.cpp')
0 files changed, 0 insertions, 0 deletions