Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index 69c53c33491a70576c27890723fbf7f261a00c02..95fff7d6563575eaa9bb35bce3eb0ad1c21dbe4b 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -154,7 +154,7 @@ inline void operator delete(void* p) { |
}) |
#define SkDEBUGFAIL(message) SK_ABORT(message) |
#define SkDEBUGFAILF(fmt, ...) SkASSERTF(false, fmt, ##__VA_ARGS__) |
- #define SkDEBUGCODE(code) code |
+ #define SkDEBUGCODE(...) __VA_ARGS__ |
#define SkDECLAREPARAM(type, var) , type var |
#define SkPARAM(var) , var |
#define SkDEBUGF(args ) SkDebugf args |
@@ -163,7 +163,7 @@ inline void operator delete(void* p) { |
#define SkASSERT(cond) |
#define SkASSERTF(cond, fmt, ...) |
#define SkDEBUGFAIL(message) |
- #define SkDEBUGCODE(code) |
+ #define SkDEBUGCODE(...) |
#define SkDEBUGF(args) |
#define SkDECLAREPARAM(type, var) |
#define SkPARAM(var) |