From 5fb2ce38b3dcb8e60e9e112df23c9d42456d7069 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Thu, 17 Apr 2014 23:35:06 +0000 Subject: Staged removal of SkPicture-derived classes This CL removes the SkPicture-derived classes (with a flag to keeps clients working). In the process it also lightens the recording factory function so it is no longer ref counted). The only interesting bits are in SkPicture* and Sk*Picture.* R=reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/238273012 git-svn-id: http://skia.googlecode.com/svn/trunk@14251 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tools/skpmaker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/skpmaker.cpp') diff --git a/tools/skpmaker.cpp b/tools/skpmaker.cpp index 740d522366..0d46d045a6 100644 --- a/tools/skpmaker.cpp +++ b/tools/skpmaker.cpp @@ -27,7 +27,7 @@ DEFINE_string(writePath, "", "Filepath to write the SKP into."); static void skpmaker(int width, int height, int border, SkColor color, const char *writePath) { SkPictureRecorder recorder; - SkCanvas* canvas = recorder.beginRecording(width, height); + SkCanvas* canvas = recorder.beginRecording(width, height, NULL, 0); SkPaint paint; paint.setStyle(SkPaint::kFill_Style); paint.setColor(SK_ColorBLACK); -- cgit v1.2.3