Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index bed33fb8b2db500004f5932b3b06453f7db25c61..8eeffb5894dd5b2e6f11446cb84cf1d6caba55a1 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -285,9 +285,6 @@ static inline bool SkIsU16(long x) { |
} |
////////////////////////////////////////////////////////////////////////////// |
-#ifndef SK_OFFSETOF |
- #define SK_OFFSETOF(type, field) (size_t)((char*)&(((type*)1)->field) - (char*)1) |
-#endif |
/** Returns the number of entries in an array (not a pointer) */ |
template <typename T, size_t N> char (&SkArrayCountHelper(T (&array)[N]))[N]; |