diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-05-21 21:17:15 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-22 02:00:44 +0000 |
commit | 0938ce723204bb900bc4591138dbb3d0195284a9 (patch) | |
tree | a596d5cf6433d7631df166fe1ede5da96099a889 /fuzz/FuzzCanvas.cpp | |
parent | 1e7c65806f3fbde13b5d8064dc5734d98c32a284 (diff) |
Fix FuzzCanvas - drawPath
Without this, our fuzzer would not be able to find
https://bugs.chromium.org/p/chromium/issues/detail?id=844457
on its own.
Bug: skia:
Change-Id: I61146242e9eca29821d13abfd6f777df2199df97
Reviewed-on: https://skia-review.googlesource.com/129502
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'fuzz/FuzzCanvas.cpp')
-rw-r--r-- | fuzz/FuzzCanvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/FuzzCanvas.cpp b/fuzz/FuzzCanvas.cpp index 41e975739b..b843804460 100644 --- a/fuzz/FuzzCanvas.cpp +++ b/fuzz/FuzzCanvas.cpp @@ -1320,6 +1320,7 @@ static void fuzz_canvas(Fuzz* fuzz, SkCanvas* canvas, int depth = 9) { break; } case 32: { + fuzz_paint(fuzz, &paint, depth - 1); SkPath path; FuzzPath(fuzz, &path, 60); canvas->drawPath(path, paint); |