Index: dm/DMCpuTask.cpp |
diff --git a/dm/DMCpuTask.cpp b/dm/DMCpuTask.cpp |
index 544f73c4c1b51b201f0b201b3ce93d50057d1342..14f661ac387f0e2dc23956376bf6bb9b64726947 100644 |
--- a/dm/DMCpuTask.cpp |
+++ b/dm/DMCpuTask.cpp |
@@ -33,14 +33,13 @@ void CpuTask::draw() { |
fGM->draw(&canvas); |
canvas.flush(); |
- const skiagm::GmResultDigest digest(bitmap); |
- if (!meetsExpectations(fExpectations, digest)) { |
+ if (!meetsExpectations(fExpectations, bitmap)) { |
this->fail(); |
} |
if (FLAGS_replay) { |
this->spawnChild(SkNEW_ARGS(ReplayTask, |
- ("replay", *this, fGMFactory(NULL), digest, fConfig))); |
+ ("replay", *this, fGMFactory(NULL), bitmap))); |
} |
} |