Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index a5468f3090af865984fd3e627b22ad23fe61fc5d..d9254acf5f776d8abda7b8d3486d834fcaa6e200 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -106,6 +106,7 @@ inline void operator delete(void* p) { |
#ifdef SK_DEBUG |
#define SkASSERT(cond) SK_ALWAYSBREAK(cond) |
#define SkDEBUGFAIL(message) SkASSERT(false && message) |
+ #define SkDEBUGFAILF(fmt, ...) SkASSERTF(false, fmt, ##__VA_ARGS__) |
#define SkDEBUGCODE(code) code |
#define SkDECLAREPARAM(type, var) , type var |
#define SkPARAM(var) , var |