Remove the last of SANITIZE macros: SANITIZE_SELF
diff --git a/src/hb-open-file-private.hh b/src/hb-open-file-private.hh
index b58e26b..cf75df9 100644
--- a/src/hb-open-file-private.hh
+++ b/src/hb-open-file-private.hh
@@ -51,7 +51,7 @@
inline bool sanitize (hb_sanitize_context_t *context) {
TRACE_SANITIZE ();
- return SANITIZE_SELF ();
+ return context->check_struct (this);
}
Tag tag; /* 4-byte identifier. */
@@ -100,7 +100,7 @@
public:
inline bool sanitize (hb_sanitize_context_t *context) {
TRACE_SANITIZE ();
- return SANITIZE_SELF ()
+ return context->check_struct (this)
&& context->check_array (tableDir, TableDirectory::get_size (), numTables);
}