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

Unified Diff: fuzz/FuzzParsePath.cpp

Issue 2389853002: Add fuzz executable to GN (Closed)
Patch Set: Trim down deps Created 4 years, 2 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 | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fuzz/FuzzParsePath.cpp
diff --git a/fuzz/FuzzParsePath.cpp b/fuzz/FuzzParsePath.cpp
index fe1355037d4ac344acf81ca09eb2045f87d68ca5..6eb7f3b713b0f84ce84d931ecc6b8baffa619e2b 100644
--- a/fuzz/FuzzParsePath.cpp
+++ b/fuzz/FuzzParsePath.cpp
@@ -13,7 +13,7 @@
// Most of this is taken from random_parse_path.cpp and adapted to use the Fuzz
// instead of SKRandom
-const struct Legal {
+static const struct Legal {
char fSymbol;
int fScalars;
} gLegal[] = {
@@ -29,10 +29,10 @@ const struct Legal {
{ 'Z', 0 },
};
-bool gEasy = false; // set to true while debugging to suppress unusual whitespace
+static bool gEasy = false; // set to true while debugging to suppress unusual whitespace
// mostly do nothing, then bias towards spaces
-const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A };
+static const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A };
static void add_white(Fuzz* fuzz, SkString* atom) {
if (gEasy) {
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698