Index: tests/PathOpsThreadedCommon.cpp |
diff --git a/tests/PathOpsThreadedCommon.cpp b/tests/PathOpsThreadedCommon.cpp |
index 0adde915e0870fbbea6205b80f477e6cf82f9578..ac4cd6ba62614f7623f0abc6e971c13dd34a0b00 100644 |
--- a/tests/PathOpsThreadedCommon.cpp |
+++ b/tests/PathOpsThreadedCommon.cpp |
@@ -7,7 +7,7 @@ |
#include "PathOpsExtendedTest.h" |
#include "PathOpsThreadedCommon.h" |
-#include "SkTaskGroup.h" |
+#include "SkThreadPool.h" |
PathOpsThreadedTestRunner::~PathOpsThreadedTestRunner() { |
for (int index = 0; index < fRunnables.count(); index++) { |
@@ -16,8 +16,8 @@ |
} |
void PathOpsThreadedTestRunner::render() { |
- SkTaskGroup tg; |
+ SkThreadPool pool(fNumThreads); |
for (int index = 0; index < fRunnables.count(); ++ index) { |
- tg.add(fRunnables[index]); |
+ pool.add(fRunnables[index]); |
} |
} |