diff options
author | Mike Reed <reed@google.com> | 2018-01-19 19:09:32 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-21 18:24:11 +0000 |
commit | 8ad91a9bf896d728b905124847d74787aac698a7 (patch) | |
tree | 4a5ac4b68bb0a5f5b5d6e6447ffb02b5173b912b /fuzz | |
parent | 07853659fae395877fd5e09e92ae3b690ba3c222 (diff) |
remove unused SkRasterizer
Bug: skia:7500
Change-Id: Iaa683cf8f0b18887cce4ec676631d1e1efee1712
Reviewed-on: https://skia-review.googlesource.com/97400
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/FuzzDrawFunctions.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fuzz/FuzzDrawFunctions.cpp b/fuzz/FuzzDrawFunctions.cpp index e9e4f8e041..5029ebe967 100644 --- a/fuzz/FuzzDrawFunctions.cpp +++ b/fuzz/FuzzDrawFunctions.cpp @@ -9,7 +9,6 @@ #include "SkBitmap.h" #include "SkCanvas.h" #include "SkImage.h" -#include "SkLayerRasterizer.h" #include "SkPath.h" #include "SkSurface.h" #include "SkTypeface.h" @@ -300,18 +299,6 @@ static void fuzz_drawPaint(Fuzz* fuzz) { sk_sp<SkSurface> surface; init_surface(fuzz, &surface); - // add layers - uint8_t x; - fuzz->nextRange(&x, 1, 3); // max 3 layers - SkLayerRasterizer::Builder builder; - for (int i = 0; i < x; i++) { - init_paint(fuzz, &l); - builder.addLayer(l); - } - - sk_sp<SkLayerRasterizer> raster(builder.detach()); - p.setRasterizer(raster); - surface->getCanvas()->drawPaint(p); } |