Index: third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh b/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh |
index e1939735de6be0f0fd5b76f0236a7f08259cf503..2b421a94f549a4d1d2d7272fb654b5b0504c3120 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh |
+++ b/third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh |
@@ -1338,7 +1338,7 @@ struct GSUB : GSUBGPOS |
void |
GSUB::substitute_start (hb_font_t *font, hb_buffer_t *buffer) |
{ |
- _hb_buffer_allocate_gsubgpos_vars (buffer); |
+ _hb_buffer_assert_gsubgpos_vars (buffer); |
const GDEF &gdef = *hb_ot_layout_from_face (font->face)->gdef; |
unsigned int count = buffer->len; |