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

Unified Diff: src/core/SkFuzzLogging.h

Issue 1873463002: Add SkFUZZF to help whitelist imagefilter fuzz failures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix header Created 4 years, 8 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 | « gyp/core.gypi ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkFuzzLogging.h
diff --git a/src/core/SkFuzzLogging.h b/src/core/SkFuzzLogging.h
new file mode 100644
index 0000000000000000000000000000000000000000..36a3069d6b5b0833977cb140c09f65acb8414670
--- /dev/null
+++ b/src/core/SkFuzzLogging.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkFuzzLogging_DEFINED
+#define SkFuzzLogging_DEFINED
+
+// Utilities for Skia's fuzzer
+
+#ifdef SK_FUZZ
reed1 2016/04/08 19:45:49 nit: SK_FUZZ_LOGGING
reed1 2016/04/08 19:45:49 // If you want to enable debugfs for image-filter-
robertphillips 2016/04/08 20:30:09 Done.
robertphillips 2016/04/08 20:30:09 Done.
+ #define SkFUZZF(args) SkDebugf("SkFUZZ: "); SkDebugf args
+#else
+ #define SkFUZZF(args)
+#endif
+
+#endif
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698