From 13872ddc56c4ab128569428b3ea8c722e7494df5 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 6 Apr 2018 10:25:12 -0400 Subject: Region Op Fuzzer Also: assert Region IRects don't contain Sentinel value. Also: Region fuzzer can't produce Sentinel value. Change-Id: Ia33c7eeb9ef2c46b3da4a025d85de8a0406c3c0c Reviewed-on: https://skia-review.googlesource.com/119011 Reviewed-by: Kevin Lubick Reviewed-by: Cary Clark Commit-Queue: Hal Canary --- fuzz/FuzzCanvas.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'fuzz/FuzzCanvas.cpp') diff --git a/fuzz/FuzzCanvas.cpp b/fuzz/FuzzCanvas.cpp index 150fb92277..7cfcc132d5 100644 --- a/fuzz/FuzzCanvas.cpp +++ b/fuzz/FuzzCanvas.cpp @@ -76,12 +76,6 @@ // SkTextBlob with Unicode // SkImage: more types -template -inline void fuzz_enum_range(Fuzz* fuzz, T* value, Min rmin, Max rmax) { - using U = skstd::underlying_type_t; - fuzz->nextRange((U*)value, (U)rmin, (U)rmax); -} - // be careful: `foo(make_fuzz_t(f), make_fuzz_t(f))` is undefined. // In fact, all make_fuzz_foo() functions have this potential problem. // Use sequence points! -- cgit v1.2.3