| Index: tools/skpdiff/SkDiffContext.cpp
|
| diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp
|
| index 26898c92f38fc0168b1f998974a6228775c896b7..6b524e9d5f23ac577247d1c07f06f8f6b15da663 100644
|
| --- a/tools/skpdiff/SkDiffContext.cpp
|
| +++ b/tools/skpdiff/SkDiffContext.cpp
|
| @@ -8,11 +8,11 @@
|
| #include "SkBitmap.h"
|
| #include "SkImageDecoder.h"
|
| #include "SkOSFile.h"
|
| -#include "SkRunnable.h"
|
| +#include "Runnable.h"
|
| #include "SkSize.h"
|
| #include "SkStream.h"
|
| #include "SkTDict.h"
|
| -#include "SkThreadPool.h"
|
| +#include "ThreadPool.h"
|
|
|
| #include "SkDiffContext.h"
|
| #include "SkImageDiffer.h"
|
| @@ -21,7 +21,7 @@
|
| SkDiffContext::SkDiffContext() {
|
| fDiffers = NULL;
|
| fDifferCount = 0;
|
| - fThreadCount = SkThreadPool::kThreadPerCore;
|
| + fThreadCount = ThreadPool::kThreadPerCore;
|
| }
|
|
|
| SkDiffContext::~SkDiffContext() {
|
| @@ -187,7 +187,7 @@ void SkDiffContext::addDiff(const char* baselinePath, const char* testPath) {
|
| }
|
| }
|
|
|
| -class SkThreadedDiff : public SkRunnable {
|
| +class SkThreadedDiff : public Runnable {
|
| public:
|
| SkThreadedDiff() : fDiffContext(NULL) { }
|
|
|
| @@ -215,7 +215,7 @@ void SkDiffContext::diffDirectories(const char baselinePath[], const char testPa
|
| return;
|
| }
|
|
|
| - SkThreadPool threadPool(fThreadCount);
|
| + ThreadPool threadPool(fThreadCount);
|
| SkTArray<SkThreadedDiff> runnableDiffs;
|
| runnableDiffs.reset(baselineEntries.count());
|
|
|
| @@ -261,7 +261,7 @@ void SkDiffContext::diffPatterns(const char baselinePattern[], const char testPa
|
| return;
|
| }
|
|
|
| - SkThreadPool threadPool(fThreadCount);
|
| + ThreadPool threadPool(fThreadCount);
|
| SkTArray<SkThreadedDiff> runnableDiffs;
|
| runnableDiffs.reset(baselineEntries.count());
|
|
|
|
|