Index: tests/OnceTest.cpp |
diff --git a/tests/OnceTest.cpp b/tests/OnceTest.cpp |
index 192abaaee36266c81ceb3e7773b8ae524415a669..e2711f00bb2b3d58d0e670c4461fbbc0430e7855 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; |