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