Index: tests/PathOpsThreadedCommon.h |
diff --git a/tests/PathOpsThreadedCommon.h b/tests/PathOpsThreadedCommon.h |
index 124921e3892d369fdb210a55f158129f39fc7fd1..a638cd2fdf593ae839ac09af324b6c0bb9dda121 100644 |
--- a/tests/PathOpsThreadedCommon.h |
+++ b/tests/PathOpsThreadedCommon.h |
@@ -33,13 +33,17 @@ |
class PathOpsThreadedTestRunner { |
public: |
- PathOpsThreadedTestRunner(skiatest::Reporter* reporter) : fReporter(reporter) {} |
+ PathOpsThreadedTestRunner(skiatest::Reporter* reporter, int threadCount) |
+ : fNumThreads(threadCount) |
+ , fReporter(reporter) { |
+ } |
~PathOpsThreadedTestRunner(); |
void render(); |
public: |
+ int fNumThreads; |
SkTDArray<PathOpsThreadedRunnable*> fRunnables; |
skiatest::Reporter* fReporter; |
}; |