Index: dm/DMUtil.cpp |
diff --git a/dm/DMUtil.cpp b/dm/DMUtil.cpp |
index a702bbe874953492729164c157b7277cf10a995b..c3363a627c200b03681fd23dc17f987368ef3420 100644 |
--- a/dm/DMUtil.cpp |
+++ b/dm/DMUtil.cpp |
@@ -34,13 +34,12 @@ SkString FileToTaskName(SkString filename) { |
return filename; |
} |
-SkPicture* RecordPicture(skiagm::GM* gm, SkBBHFactory* factory, bool skr) { |
+SkPicture* RecordPicture(skiagm::GM* gm, SkBBHFactory* factory) { |
const SkScalar w = SkIntToScalar(gm->getISize().width()), |
h = SkIntToScalar(gm->getISize().height()); |
SkPictureRecorder recorder; |
- SkCanvas* canvas = skr ? recorder.EXPERIMENTAL_beginRecording(w, h, factory) |
- : recorder. DEPRECATED_beginRecording(w, h, factory); |
+ SkCanvas* canvas = recorder.beginRecording(w, h, factory); |
CanvasPreflight(canvas); |
canvas->concat(gm->getInitialTransform()); |
gm->draw(canvas); |