Index: dm/DMUtil.cpp |
diff --git a/dm/DMUtil.cpp b/dm/DMUtil.cpp |
index a227ca85841afe9e9c69352cb5dac205359a7e40..d5214849e6f4e72fea0cbd4ae3e975d9d1d52d98 100644 |
--- a/dm/DMUtil.cpp |
+++ b/dm/DMUtil.cpp |
@@ -23,10 +23,10 @@ bool MeetsExpectations(const skiagm::Expectations& expectations, const SkBitmap |
return expectations.match(digest); |
} |
-void RecordPicture(skiagm::GM* gm, SkPicture* picture) { |
+void RecordPicture(skiagm::GM* gm, SkPicture* picture, uint32_t recordFlags) { |
SkCanvas* canvas = picture->beginRecording(SkScalarCeilToInt(gm->width()), |
SkScalarCeilToInt(gm->height()), |
- 0 /*flags*/); |
+ recordFlags); |
canvas->concat(gm->getInitialTransform()); |
gm->draw(canvas); |
canvas->flush(); |