Index: third_party/harfbuzz-ng/src/hb-ot-map-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-map-private.hh b/third_party/harfbuzz-ng/src/hb-ot-map-private.hh |
index 5ed54a6cabf7f594557601f19148ff4bee9258cd..0e718a6f1f5f7060bd0a2f7a3f4203ec4a985494 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-map-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-ot-map-private.hh |
@@ -118,10 +118,9 @@ struct hb_ot_map_t |
} |
HB_INTERNAL void collect_lookups (unsigned int table_index, hb_set_t *lookups) const; |
- HB_INTERNAL inline void apply (unsigned int table_index, |
- const struct hb_ot_shape_plan_t *plan, |
- hb_font_t *font, |
- hb_buffer_t *buffer) const; |
+ template <typename Proxy> |
+ HB_INTERNAL inline void apply (const Proxy &proxy, |
+ const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; |
HB_INTERNAL void substitute (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; |
HB_INTERNAL void position (const struct hb_ot_shape_plan_t *plan, hb_font_t *font, hb_buffer_t *buffer) const; |