BUG=skia:6336
Change-Id: I5ca005f8bf821d5a6f153c3df80d4c7309519cba
Reviewed-on: https://skia-review.googlesource.com/9395
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
SkCanvas::VertexMode vertexMode;
SkBlendMode mode;
uint8_t vm, bm;
- fuzz->nextRange(&vm, 0, 3);
- fuzz->nextRange(&bm, 0, (int)SkBlendMode::kLastMode);
+ fuzz->nextRange(&vm, 0, (uint8_t)SkCanvas::kTriangleFan_VertexMode);
+ fuzz->nextRange(&bm, 0, (uint8_t)SkBlendMode::kLastMode);
vertexMode = (SkCanvas::VertexMode)vm;
mode = (SkBlendMode)bm;
constexpr int kMaxCount = 100;