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

Unified Diff: dm/DMComparisonTask.cpp

Issue 27476007: DM: duh, don't calculate digests unless we're going to look at them. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: sync and merge Created 7 years, 2 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 | dm/DMCpuTask.cpp » ('j') | dm/DMReplayTask.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMComparisonTask.cpp
diff --git a/dm/DMComparisonTask.cpp b/dm/DMComparisonTask.cpp
index f4f742c921077da558e0cad60cc6ea5569fcd0c1..24976f011dcf98cffe4fac029a43c1d2f22488e3 100644
--- a/dm/DMComparisonTask.cpp
+++ b/dm/DMComparisonTask.cpp
@@ -13,8 +13,7 @@ ComparisonTask::ComparisonTask(const Task& parent,
{}
void ComparisonTask::draw() {
- const skiagm::GmResultDigest digest(fBitmap);
- if (!meetsExpectations(fExpectations, digest)) {
+ if (!meetsExpectations(fExpectations, fBitmap)) {
this->fail();
}
}
« no previous file with comments | « no previous file | dm/DMCpuTask.cpp » ('j') | dm/DMReplayTask.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698