[HB] Remove apply_subtables() again
diff --git a/src/hb-ot-layout-gsub-private.h b/src/hb-ot-layout-gsub-private.h
index fce4f45..38a99a2 100644
--- a/src/hb-ot-layout-gsub-private.h
+++ b/src/hb-ot-layout-gsub-private.h
@@ -590,7 +590,7 @@
     ReverseChainSingle	= 8,
   };
 
-  inline bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
+  bool apply (APPLY_ARG_DEF, unsigned int lookup_type) const
   {
     switch (lookup_type) {
     case Single:		return u.single->apply (APPLY_ARG);
@@ -653,14 +653,17 @@
     return HB_UNLIKELY (get_effective_type () == SubstLookupSubTable::ReverseChainSingle);
   }
 
-  inline bool apply_subtables (hb_ot_layout_t *layout,
-			       hb_buffer_t    *buffer,
-			       unsigned int    context_length,
-			       unsigned int    nesting_level_left,
-			       unsigned int    property) const
+  inline bool apply_once (hb_ot_layout_t *layout,
+			  hb_buffer_t    *buffer,
+			  unsigned int    context_length,
+			  unsigned int    nesting_level_left) const
   {
     unsigned int lookup_type = get_type ();
     unsigned int lookup_flag = get_flag ();
+    unsigned int property;
+
+    if (!_hb_ot_layout_check_glyph_property (layout, IN_CURITEM (), lookup_flag, &property))
+      return false;
 
     for (unsigned int i = 0; i < get_subtable_count (); i++)
       if (get_subtable (i).apply (APPLY_ARG, lookup_type))
@@ -669,17 +672,6 @@
     return false;
   }
 
-  inline bool apply_once (hb_ot_layout_t *layout, hb_buffer_t *buffer) const
-  {
-    unsigned int lookup_flag = get_flag ();
-
-    unsigned int property;
-    if (!_hb_ot_layout_check_glyph_property (layout, IN_CURITEM (), lookup_flag, &property))
-      return false;
-
-    return apply_subtables (layout, buffer, NO_CONTEXT, MAX_NESTING_LEVEL, property);
-  }
-
   bool apply_string (hb_ot_layout_t *layout,
 		     hb_buffer_t    *buffer,
 		     hb_ot_layout_feature_mask_t mask) const
@@ -697,7 +689,7 @@
 	while (buffer->in_pos < buffer->in_length)
 	{
 	  if ((~IN_PROPERTIES (buffer->in_pos) & mask) &&
-	      apply_once (layout, buffer))
+	      apply_once (layout, buffer, NO_CONTEXT, MAX_NESTING_LEVEL))
 	    ret = true;
 	  else
 	    _hb_buffer_next_glyph (buffer);
@@ -715,7 +707,7 @@
 	do
 	{
 	  if ((~IN_PROPERTIES (buffer->in_pos) & mask) &&
-	      apply_once (layout, buffer))
+	      apply_once (layout, buffer, NO_CONTEXT, MAX_NESTING_LEVEL))
 	    ret = true;
 	  else
 	    buffer->in_pos--;
@@ -782,8 +774,7 @@
   if (HB_UNLIKELY (context_length < 1))
     return false;
 
-  /* XXX This should be apply_one I guess */
-  return l.apply_subtables (layout, buffer, context_length, nesting_level_left, property);
+  return l.apply_once (layout, buffer, context_length, nesting_level_left);
 }