summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/harfbuzz/src/graph/gsubgpos-context.cc')
-rw-r--r--thirdparty/harfbuzz/src/graph/gsubgpos-context.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc b/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
index e0ff6ff85f..b2044426d4 100644
--- a/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
+++ b/thirdparty/harfbuzz/src/graph/gsubgpos-context.cc
@@ -33,8 +33,7 @@ gsubgpos_graph_context_t::gsubgpos_graph_context_t (hb_tag_t table_tag_,
: table_tag (table_tag_),
graph (graph_),
lookup_list_index (0),
- lookups (),
- buffers ()
+ lookups ()
{
if (table_tag_ != HB_OT_TAG_GPOS
&& table_tag_ != HB_OT_TAG_GSUB)
@@ -53,7 +52,7 @@ unsigned gsubgpos_graph_context_t::create_node (unsigned size)
if (!buffer)
return -1;
- buffers.push (buffer);
+ add_buffer (buffer);
return graph.new_node (buffer, buffer + size);
}