[OTLayout] Clean up closure() a bit
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 7af75c0..d345ba6 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc
@@ -498,7 +498,11 @@ unsigned int lookup_index, hb_set_t *glyphs) { - _get_gsub (face).closure_lookup (face, glyphs, lookup_index); + OT::hb_closure_context_t c (face, glyphs); + + const OT::SubstLookup& l = _get_gsub (face).get_lookup (lookup_index); + + l.closure (&c); } /*