diff options
Diffstat (limited to 'tests/OnceTest.cpp')
-rw-r--r-- | tests/OnceTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/OnceTest.cpp b/tests/OnceTest.cpp index 192abaaee3..e2711f00bb 100644 --- a/tests/OnceTest.cpp +++ b/tests/OnceTest.cpp @@ -31,6 +31,8 @@ static void add_six(int* x) { *x += 6; } +namespace { + class Racer : public SkRunnable { public: SkOnceFlag* once; @@ -41,6 +43,8 @@ public: } }; +} // namespace + DEF_TEST(SkOnce_Multithreaded, r) { const int kTasks = 16; |