Index: src/sfnt/SkOTTable_maxp_CFF.h |
diff --git a/src/sfnt/SkOTTable_maxp_CFF.h b/src/sfnt/SkOTTable_maxp_CFF.h |
index f97bff9efc7fef684c7218b2b1c97d5bf121f255..435d823886f8db63416c085c6e19d94be0eb46dc 100644 |
--- a/src/sfnt/SkOTTable_maxp_CFF.h |
+++ b/src/sfnt/SkOTTable_maxp_CFF.h |
@@ -24,7 +24,7 @@ struct SkOTTableMaximumProfile_CFF { |
#include <stddef.h> |
-SK_COMPILE_ASSERT(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4); |
-SK_COMPILE_ASSERT(sizeof(SkOTTableMaximumProfile_CFF) == 6, sizeof_SkOTTableMaximumProfile_CFF_not_6); |
+static_assert(offsetof(SkOTTableMaximumProfile_CFF, numGlyphs) == 4, "SkOTTableMaximumProfile_CFF_numGlyphs_not_at_4"); |
+static_assert(sizeof(SkOTTableMaximumProfile_CFF) == 6, "sizeof_SkOTTableMaximumProfile_CFF_not_6"); |
#endif |