Index: dm/DMRecordTask.cpp |
diff --git a/dm/DMRecordTask.cpp b/dm/DMRecordTask.cpp |
index 0109a41d8fb1b5eb4fc0d70a8f9adbb697aac047..d38fc4ca23f003ab1cb7cfa3d707c08592d6872f 100644 |
--- a/dm/DMRecordTask.cpp |
+++ b/dm/DMRecordTask.cpp |
@@ -27,7 +27,8 @@ void RecordTask::draw() { |
SkBitmap bitmap; |
SetupBitmap(fReference.colorType(), fGM.get(), &bitmap); |
SkCanvas target(bitmap); |
- record.visit(SkRecordDraw(&target)); |
+ |
+ SkRecordDraw(record, &target); |
if (!BitmapsEqual(bitmap, fReference)) { |
this->fail(); |