From 4319593988db5796023d9f5f34a8ed285c2097dd Mon Sep 17 00:00:00 2001 From: kjlubick Date: Tue, 5 Apr 2016 12:48:47 -0700 Subject: Do an in-place replacement of SkRandom with Fuzz for FilterFuzz This feels rather clunky, because we aren't using the full potential of the fuzzer, but it works, it seems. BUG=skia:4969 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1710183002 Review URL: https://codereview.chromium.org/1710183002 --- fuzz/Fuzz.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fuzz/Fuzz.h') diff --git a/fuzz/Fuzz.h b/fuzz/Fuzz.h index 26a8d429b3..07c2c8456e 100644 --- a/fuzz/Fuzz.h +++ b/fuzz/Fuzz.h @@ -21,6 +21,8 @@ public: uint32_t nextU(); // This can be nan, +- infinity, 0, anything. float nextF(); + // Returns a float between [0..1) as a IEEE float + float nextF1(); // Return the next fuzzed value [min, max) as an unsigned 32bit integer. uint32_t nextRangeU(uint32_t min, uint32_t max); -- cgit v1.2.3