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