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

Unified Diff: dm/DMUtil.cpp

Issue 612603002: Don't test the old picture backend anymore. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 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 | « dm/DMUtil.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « dm/DMUtil.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698