summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarret Rieger <grieger@google.com>2019-01-28 16:51:27 -0800
committerGarret Rieger <grieger@google.com>2019-01-29 13:19:21 -0800
commit4842294b861b9fe322c811abef0ebb0553be2bf0 (patch)
treec6209e72483cc64ca92334a64d7366e15ee7c1cf /src
parent853b1f1aa5489b8439c41c30be77ed042c8c89e5 (diff)
[subset] Update gsub to use glyphset() method of subset plan.
Diffstat (limited to 'src')
-rw-r--r--src/hb-ot-layout-gsub-table.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh
index 33b8f0eb..cc106347 100644
--- a/src/hb-ot-layout-gsub-table.hh
+++ b/src/hb-ot-layout-gsub-table.hh
@@ -105,7 +105,7 @@ struct SingleSubstFormat1
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
- const hb_set_t &glyphset = *c->plan->glyphset;
+ const hb_set_t &glyphset = *c->plan->glyphset ();
const hb_map_t &glyph_map = *c->plan->glyph_map;
hb_vector_t<GlyphID> from;
hb_vector_t<GlyphID> to;
@@ -202,7 +202,7 @@ struct SingleSubstFormat2
bool subset (hb_subset_context_t *c) const
{
TRACE_SUBSET (this);
- const hb_set_t &glyphset = *c->plan->glyphset;
+ const hb_set_t &glyphset = *c->plan->glyphset ();
const hb_map_t &glyph_map = *c->plan->glyph_map;
hb_vector_t<GlyphID> from;
hb_vector_t<GlyphID> to;