Index: third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc |
diff --git a/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc b/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc |
index 80d7da82f3882d2f48298b292ddd5e524e500edd..53274b502a5d2cb2838a3da651f9fa90c2546416 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc |
+++ b/third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc |
@@ -441,13 +441,15 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan, |
OT::hb_apply_context_t c (1, font, buffer); |
c.set_lookup_mask (plan->kern_mask); |
c.set_lookup_props (OT::LookupFlag::IgnoreMarks); |
+ OT::hb_apply_context_t::skipping_iterator_t &skippy_iter = c.iter_input; |
+ skippy_iter.init (&c); |
unsigned int count = buffer->len; |
hb_glyph_info_t *info = buffer->info; |
hb_glyph_position_t *pos = buffer->pos; |
for (unsigned int idx = 0; idx < count;) |
{ |
- OT::hb_apply_context_t::skipping_forward_iterator_t skippy_iter (&c, idx, 1); |
+ skippy_iter.reset (idx, 1); |
if (!skippy_iter.next ()) |
{ |
idx++; |