Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index 5ff57f807872e8bdd1624e9a3c526a994cf71bd5..c693a76043ffce919b7080017d7631286cd6203e 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -120,6 +120,8 @@ inline void operator delete(void* p) { |
// and if it's true the assert passes; if it's false, we'll print the message and the assert fails. |
#define SkASSERTF(cond, fmt, ...) SkASSERT((cond) || (SkDebugf(fmt"\n", __VA_ARGS__), false)) |
+#define SK_DEBUGFAILF(fmt, ...) SkASSERT((SkDebugf(fmt"\n", __VA_ARGS__), false)) |
reed1
2014/07/10 15:42:22
Lets just place this at the one callsite in your i
|
+ |
#ifdef SK_DEVELOPER |
#define SkDEVCODE(code) code |
#else |