aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpmaker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skpmaker.cpp')
-rw-r--r--tools/skpmaker.cpp2
1 files changed, 1 insertions, 1 deletions
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);