From 740ae27d5c0f5ff87e2ff489fb49d5db1a0c95be Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 22 Jul 2018 22:40:56 -0700 Subject: [PATCH] Port sbix off of Sanitizer<> --- src/hb-ot-color-sbix-table.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hb-ot-color-sbix-table.hh b/src/hb-ot-color-sbix-table.hh index bf644a67f..dcfeef46c 100644 --- a/src/hb-ot-color-sbix-table.hh +++ b/src/hb-ot-color-sbix-table.hh @@ -96,9 +96,7 @@ struct sbix { inline void init (hb_face_t *face) { - /* XXX Using public API instead of private method to avoid link problem in dump_emoji. - * Kill that! */ - sbix_blob = OT::Sanitizer(hb_face_get_glyph_count (face)/*face->get_num_glyphs ()*/).sanitize (face->reference_table (HB_OT_TAG_sbix)); + sbix_blob = OT::hb_sanitize_context_t().reference_table (face); sbix_len = hb_blob_get_length (sbix_blob); sbix_table = sbix_blob->as (); }