Index: tests/PathOpsThreadedCommon.cpp |
diff --git a/tests/PathOpsThreadedCommon.cpp b/tests/PathOpsThreadedCommon.cpp |
index 342b56004950aac00b558d0fa0007cdaf92c1f06..c9a06f0a52bf792cbaa30d05c88a03dc1c7da3da 100644 |
--- a/tests/PathOpsThreadedCommon.cpp |
+++ b/tests/PathOpsThreadedCommon.cpp |
@@ -16,7 +16,7 @@ PathOpsThreadedTestRunner::~PathOpsThreadedTestRunner() { |
} |
void PathOpsThreadedTestRunner::render() { |
- sk_parallel_for(fRunnables.count(), [&](int i) { |
+ SkTaskGroup().batch(fRunnables.count(), [&](int i) { |
fRunnables[i]->run(); |
}); |
} |