From f9b643f6b25ececbb6506dcc86eb5c50fd9824ca Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 4 Jun 2022 07:29:40 -0600 Subject: [PATCH] [layout] s/hb_get_subtables_context_t/hb_accelerate_subtables_context_t/g --- src/hb-ot-layout-gsubgpos.hh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index a93d5436d..7f57adfb2 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -790,8 +790,8 @@ struct hb_ot_apply_context_t : }; -struct hb_get_subtables_context_t : - hb_dispatch_context_t +struct hb_accelerate_subtables_context_t : + hb_dispatch_context_t { template static inline bool apply_to (const void *obj, OT::hb_ot_apply_context_t *c) @@ -836,8 +836,8 @@ struct hb_get_subtables_context_t : } static return_t default_return_value () { return hb_empty_t (); } - hb_get_subtables_context_t (array_t &array_) : - array (array_) {} + hb_accelerate_subtables_context_t (array_t &array_) : + array (array_) {} array_t &array; }; @@ -3623,8 +3623,8 @@ struct hb_ot_layout_lookup_accelerator_t lookup.collect_coverage (&digest); subtables.init (); - OT::hb_get_subtables_context_t c_get_subtables (subtables); - lookup.dispatch (&c_get_subtables); + OT::hb_accelerate_subtables_context_t c_accelerate_subtables (subtables); + lookup.dispatch (&c_accelerate_subtables); } void fini () { subtables.fini (); } @@ -3641,7 +3641,7 @@ struct hb_ot_layout_lookup_accelerator_t private: hb_set_digest_t digest; - hb_get_subtables_context_t::array_t subtables; + hb_accelerate_subtables_context_t::array_t subtables; }; struct GSUBGPOS