summaryrefslogtreecommitdiff
path: root/src/hb-ot-cmap-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-07-22 22:40:32 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-07-22 22:43:25 -0700
commit9583e0077d0a3a043f8b5bd23925014e04da8d32 (patch)
treec6b9e4083035ac9205e2470bcb3fc696cdf71fbd /src/hb-ot-cmap-table.hh
parente7737b41d793bfce9455d1797eb5e0af60794f23 (diff)
Port more off of Sanitizer<>
Diffstat (limited to 'src/hb-ot-cmap-table.hh')
-rw-r--r--src/hb-ot-cmap-table.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh
index 0ea37209..22cdbaf3 100644
--- a/src/hb-ot-cmap-table.hh
+++ b/src/hb-ot-cmap-table.hh
@@ -894,7 +894,7 @@ struct cmap
{
inline void init (hb_face_t *face)
{
- this->blob = OT::Sanitizer<OT::cmap>().sanitize (face->reference_table (HB_OT_TAG_cmap));
+ this->blob = OT::hb_sanitize_context_t().reference_table<OT::cmap> (face);
const OT::cmap *cmap = this->blob->as<OT::cmap> ();
const OT::CmapSubtable *subtable = nullptr;
const OT::CmapSubtableFormat14 *subtable_uvs = nullptr;