Index: dm/DMGpuTask.cpp |
diff --git a/dm/DMGpuTask.cpp b/dm/DMGpuTask.cpp |
index 4d99356237b3188b472058b018911afc1df0873a..d4c4254c62fbabfdb820f4314784cc156a44d390 100644 |
--- a/dm/DMGpuTask.cpp |
+++ b/dm/DMGpuTask.cpp |
@@ -1,6 +1,6 @@ |
#include "DMGpuTask.h" |
-#include "DMComparisonTask.h" |
+#include "DMChecksumTask.h" |
#include "DMUtil.h" |
#include "DMWriteTask.h" |
#include "SkCommandLineFlags.h" |
@@ -60,9 +60,7 @@ void GpuTask::draw() { |
gr->printCacheStats(); |
#endif |
- // We offload checksum comparison to the main CPU threadpool. |
- // This cuts run time by about 30%. |
- this->spawnChild(SkNEW_ARGS(ComparisonTask, (*this, fExpectations, bitmap))); |
+ this->spawnChild(SkNEW_ARGS(ChecksumTask, (*this, fExpectations, bitmap))); |
this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap))); |
} |