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

Unified Diff: dm/DMExpectationsTask.cpp

Issue 553583004: Remove expectations / -r from DM entirely. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 3 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 | « dm/DMExpectationsTask.h ('k') | dm/DMGpuGMTask.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMExpectationsTask.cpp
diff --git a/dm/DMExpectationsTask.cpp b/dm/DMExpectationsTask.cpp
deleted file mode 100644
index e29257afbd96c7efbb38e3fdca76fe9d0ae9b598..0000000000000000000000000000000000000000
--- a/dm/DMExpectationsTask.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "DMExpectationsTask.h"
-#include "DMUtil.h"
-
-namespace DM {
-
-ExpectationsTask::ExpectationsTask(const Task& parent,
- const Expectations& expectations,
- SkBitmap bitmap)
- : CpuTask(parent)
- , fName(parent.name()) // Masquerade as parent so failures are attributed to it.
- , fExpectations(expectations)
- , fBitmap(bitmap)
- {}
-
-void ExpectationsTask::draw() {
- if (!fExpectations.check(*this, fBitmap)) {
- this->fail();
- }
-}
-
-} // namespace DM
« no previous file with comments | « dm/DMExpectationsTask.h ('k') | dm/DMGpuGMTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698