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-post-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-post-table.hh')
-rw-r--r-- | src/hb-ot-post-table.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-post-table.hh b/src/hb-ot-post-table.hh index d1793d35..bb5f9b31 100644 --- a/src/hb-ot-post-table.hh +++ b/src/hb-ot-post-table.hh @@ -110,7 +110,7 @@ struct post inline void init (hb_face_t *face) { blob = Sanitizer<post>().sanitize (face->reference_table (HB_OT_TAG_post)); - const post *table = blob->lock_as<post> (); + const post *table = blob->as<post> (); unsigned int table_length = hb_blob_get_length (blob); version = table->version.to_int (); |