| Index: include/core/SkTypes.h
|
| diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h
|
| index f9d0c533d3348400899734772301319f046a80d7..a94a59233f6b6596898aa90b1938e7126a092e0d 100644
|
| --- a/include/core/SkTypes.h
|
| +++ b/include/core/SkTypes.h
|
| @@ -160,6 +160,12 @@
|
| // So we use the comma operator to make an SkDebugf that always returns false: we'll evaluate cond,
|
| // 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))
|
| +
|
| +#ifdef SK_DEVELOPER
|
| + #define SkDEVCODE(code) code
|
| +#else
|
| + #define SkDEVCODE(code)
|
| +#endif
|
|
|
| #ifdef SK_IGNORE_TO_STRING
|
| #define SK_TO_STRING_NONVIRT()
|
|
|