Index: dm/DMChecksumTask.cpp |
diff --git a/dm/DMChecksumTask.cpp b/dm/DMChecksumTask.cpp |
deleted file mode 100644 |
index 0d9dce7fd1f85ff28c6ad62072aa87bf5adf7fee..0000000000000000000000000000000000000000 |
--- a/dm/DMChecksumTask.cpp |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-#include "DMChecksumTask.h" |
-#include "DMUtil.h" |
- |
-namespace DM { |
- |
-ChecksumTask::ChecksumTask(const Task& parent, |
- skiagm::Expectations expectations, |
- SkBitmap bitmap) |
- : Task(parent) |
- , fName(parent.name()) // Masquerade as parent so failures are attributed to it. |
- , fExpectations(expectations) |
- , fBitmap(bitmap) |
- {} |
- |
-void ChecksumTask::draw() { |
- if (fExpectations.ignoreFailure() || fExpectations.empty()) { |
- return; |
- } |
- |
- const skiagm::GmResultDigest digest(fBitmap); |
- if (!fExpectations.match(digest)) { |
- this->fail(); |
- } |
-} |
- |
-} // namespace DM |