Index: src/sfnt/SkOTTable_post.h |
diff --git a/src/sfnt/SkOTTable_post.h b/src/sfnt/SkOTTable_post.h |
index f563b08b229a994e5d98b9cea694614ed2de8569..7461d5283eb556977cd93c4b09a3bfde200c4d3b 100644 |
--- a/src/sfnt/SkOTTable_post.h |
+++ b/src/sfnt/SkOTTable_post.h |
@@ -46,7 +46,7 @@ struct SkOTTablePostScript { |
#include <stddef.h> |
-SK_COMPILE_ASSERT(offsetof(SkOTTablePostScript, maxMemType1) == 28, SkOTTablePostScript_maxMemType1_not_at_28); |
-SK_COMPILE_ASSERT(sizeof(SkOTTablePostScript) == 32, sizeof_SkOTTablePostScript_not_32); |
+static_assert(offsetof(SkOTTablePostScript, maxMemType1) == 28, "SkOTTablePostScript_maxMemType1_not_at_28"); |
+static_assert(sizeof(SkOTTablePostScript) == 32, "sizeof_SkOTTablePostScript_not_32"); |
#endif |