Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: fuzz/Fuzz.h

Issue 1581203003: some fuzz hacking (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: unused Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | fuzz/FuzzPaeth.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzz/Fuzz.h
diff --git a/fuzz/Fuzz.h b/fuzz/Fuzz.h
index cf5bcb9ead60df8d261830d74fadcd1c6ba2c004..f5083ef8e68ab9b19aa55730ee771d4274405986 100644
--- a/fuzz/Fuzz.h
+++ b/fuzz/Fuzz.h
@@ -17,15 +17,13 @@ class Fuzz : SkNoncopyable {
public:
explicit Fuzz(SkData*);
+ uint8_t nextB();
uint32_t nextU();
float nextF();
- // These return a value in [min, max).
- uint32_t nextURange(uint32_t min, uint32_t max);
- float nextFRange(float min, float max);
-
private:
SkAutoTUnref<SkData> fBytes;
+ int fNextByte;
};
struct Fuzzable {
« no previous file with comments | « no previous file | fuzz/FuzzPaeth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698