aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/OnceTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/OnceTest.cpp')
-rw-r--r--tests/OnceTest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/OnceTest.cpp b/tests/OnceTest.cpp
index 74c88a40e1..6c485a0f0a 100644
--- a/tests/OnceTest.cpp
+++ b/tests/OnceTest.cpp
@@ -27,13 +27,10 @@ DEF_TEST(SkOnce_Singlethreaded, r) {
REPORTER_ASSERT(r, 5 == x);
}
-
DEF_SK_ONCE(add_six, int* x) {
*x += 6;
}
-namespace {
-
class Racer : public SkRunnable {
public:
int* ptr;
@@ -42,8 +39,6 @@ public:
}
};
-} // namespace
-
DEF_TEST(SkOnce_Multithreaded, r) {
const int kTasks = 16, kThreads = 4;