diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-05-08 02:47:42 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-05-08 02:47:42 -0700 |
commit | eba1c16a604d1be774f22541bf3e417f27a27c68 (patch) | |
tree | ca2c9f2a42be07b9aa80140e86f12c37b26d5ad8 /src/hb-ot-cmap-table.hh | |
parent | b4fa50501414b7471e840f2ee6b9dfe87080b078 (diff) |
Always lock blob in sanitize. Remove blob->lock_as() in favor of blob->lock()
Diffstat (limited to 'src/hb-ot-cmap-table.hh')
-rw-r--r-- | src/hb-ot-cmap-table.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index 438063e0..950a0ee1 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -661,7 +661,7 @@ struct cmap inline void init (hb_face_t *face) { this->blob = OT::Sanitizer<OT::cmap>().sanitize (face->reference_table (HB_OT_TAG_cmap)); - const OT::cmap *cmap = this->blob->lock_as<OT::cmap> (); + const OT::cmap *cmap = this->blob->as<OT::cmap> (); const OT::CmapSubtable *subtable = nullptr; const OT::CmapSubtableFormat14 *subtable_uvs = nullptr; |