summaryrefslogtreecommitdiff
path: root/src/hb-ot-cmap-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-05-08 02:47:42 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-05-08 02:47:42 -0700
commiteba1c16a604d1be774f22541bf3e417f27a27c68 (patch)
treeca2c9f2a42be07b9aa80140e86f12c37b26d5ad8 /src/hb-ot-cmap-table.hh
parentb4fa50501414b7471e840f2ee6b9dfe87080b078 (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.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 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;