Index: src/sfnt/SkOTTable_maxp_TT.h |
diff --git a/src/sfnt/SkOTTable_maxp_TT.h b/src/sfnt/SkOTTable_maxp_TT.h |
index 9aa557ff30af1c5b8e02e00c3fa75d8973f63617..1fdd0edc8352a681c26df478fc04f59ada6742e6 100644 |
--- a/src/sfnt/SkOTTable_maxp_TT.h |
+++ b/src/sfnt/SkOTTable_maxp_TT.h |
@@ -44,7 +44,7 @@ struct SkOTTableMaximumProfile_TT { |
#include <stddef.h> |
-SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_TT, maxComponentDepth) == 30, SkOTTableMaximumProfile_TT_maxComponentDepth_not_at_30); |
-SK_COMPILE_ASSERT(sizeof(SkOTTableMaximumProfile_TT) == 32, sizeof_SkOTTableMaximumProfile_TT_not_32); |
+static_assert(offsetof(SkOTTableMaximumProfile_TT, maxComponentDepth) == 30, "SkOTTableMaximumProfile_TT_maxComponentDepth_not_at_30"); |
+static_assert(sizeof(SkOTTableMaximumProfile_TT) == 32, "sizeof_SkOTTableMaximumProfile_TT_not_32"); |
#endif |