Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(979)

Unified Diff: tests/PathOpsThreadedCommon.h

Issue 13958005: path ops : remove countdown overkill (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/PathOpsThreadedCommon.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PathOpsThreadedCommon.h
===================================================================
--- tests/PathOpsThreadedCommon.h (revision 8745)
+++ tests/PathOpsThreadedCommon.h (working copy)
@@ -36,8 +36,6 @@
public:
PathOpsThreadedTestRunner(skiatest::Reporter* reporter, int threadCount)
: fNumThreads(threadCount)
- , fThreadPool(threadCount)
- , fCountdown(threadCount)
, fReporter(reporter) {
}
@@ -48,8 +46,6 @@
public:
int fNumThreads;
SkTDArray<PathOpsThreadedRunnable*> fRunnables;
- SkThreadPool fThreadPool;
- SkCountdown fCountdown;
skiatest::Reporter* fReporter;
};
@@ -63,7 +59,6 @@
fState.fD = d;
fState.fReporter = runner->fReporter;
fTestFun = testFun;
- fDone = &runner->fCountdown;
}
virtual void run() SK_OVERRIDE {
@@ -72,13 +67,11 @@
char pathStr[PATH_STR_SIZE];
fState.fPathStr = pathStr;
(*fTestFun)(&fState);
- fDone->run();
}
private:
PathOpsThreadState fState;
void (*fTestFun)(PathOpsThreadState*);
- SkRunnable* fDone;
};
#endif
« no previous file with comments | « no previous file | tests/PathOpsThreadedCommon.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698