diff options
author | Ben Wagner <bungeman@google.com> | 2017-08-17 09:56:28 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-17 14:27:16 +0000 |
commit | b0d88eda9096400600828e08755e66642b58ca0b (patch) | |
tree | edc6a9907c5c4af9ed088c70bf5ce0769a6b1394 | |
parent | 824e730789e8535b7d0ee13dd2cd53674e19405f (diff) |
Remove SkPARAM and SkDECLAREPARAM.
These were used for debug only parameters, but no longer appear in any
code.
Change-Id: I91a25f0b40df02a66b0d7543339deafbf28dc06d
Reviewed-on: https://skia-review.googlesource.com/35703
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
-rw-r--r-- | include/core/SkTypes.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index d24e30de07..b1ba0c5ee8 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -95,8 +95,6 @@ inline void operator delete(void* p) { #define SkDEBUGFAIL(message) SK_ABORT(message) #define SkDEBUGFAILF(fmt, ...) SkASSERTF(false, fmt, ##__VA_ARGS__) #define SkDEBUGCODE(...) __VA_ARGS__ - #define SkDECLAREPARAM(type, var) , type var - #define SkPARAM(var) , var #define SkDEBUGF(args ) SkDebugf args #define SkAssertResult(cond) SkASSERT(cond) #else @@ -106,8 +104,6 @@ inline void operator delete(void* p) { #define SkDEBUGFAILF(fmt, ...) #define SkDEBUGCODE(...) #define SkDEBUGF(args) - #define SkDECLAREPARAM(type, var) - #define SkPARAM(var) // unlike SkASSERT, this guy executes its condition in the non-debug build. // The if is present so that this can be used with functions marked SK_WARN_UNUSED_RESULT. |