Index: src/utils/SkTLogic.h |
diff --git a/src/utils/SkTLogic.h b/src/utils/SkTLogic.h |
index 2b5df0b16fe866559a846790ae1ecef380cfda38..d188242446d0345af89e2fdc45da86de7c49f45f 100644 |
--- a/src/utils/SkTLogic.h |
+++ b/src/utils/SkTLogic.h |
@@ -82,6 +82,7 @@ template <class Condition, class T = void> struct SkTEnableIf |
* SK_WHEN(!SkTrue, int) f(void* ptr) { return 2; } |
*/ |
#define SK_WHEN(cond_prefix, T) typename SkTEnableIf_c<cond_prefix::value, T>::type |
+#define SK_WHEN_C(cond, T) typename SkTEnableIf_c<cond, T>::type |
// See http://en.wikibooks.org/wiki/More_C++_Idioms/Member_Detector |
#define SK_CREATE_MEMBER_DETECTOR(member) \ |