diff options
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc')
-rw-r--r-- | Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc b/Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc index 99e8ef9f393..400b890ad33 100644 --- a/Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc +++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/dump-emoji.cc @@ -233,12 +233,10 @@ int main (int argc, char **argv) svg.dump (svg_callback); svg.fini (); - OT::Sanitizer<OT::COLR> sanitizerCOLR; - hb_blob_t* colr_blob = sanitizerCOLR.sanitize (face->reference_table (HB_OT_TAG_COLR)); + hb_blob_t* colr_blob = OT::hb_sanitize_context_t().reference_table<OT::COLR> (face); const OT::COLR *colr = colr_blob->as<OT::COLR> (); - OT::Sanitizer<OT::CPAL> sanitizerCPAL; - hb_blob_t* cpal_blob = sanitizerCPAL.sanitize (face->reference_table (HB_OT_TAG_CPAL)); + hb_blob_t* cpal_blob = OT::hb_sanitize_context_t().reference_table<OT::CPAL> (face); const OT::CPAL *cpal = cpal_blob->as<OT::CPAL> (); cairo_font_face_t *cairo_face; |