From: Behdad Esfahbod Date: Thu, 9 May 2019 19:14:36 +0000 (-0700) Subject: [hdmx] Adjust to hb_iota() behavior change X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00195a22ce5198345cb39825a45863cef7d8f7fc;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [hdmx] Adjust to hb_iota() behavior change Use hb_range() instead. --- diff --git a/src/hb-ot-hdmx-table.hh b/src/hb-ot-hdmx-table.hh index 35d27f7..dc36d0a 100644 --- a/src/hb-ot-hdmx-table.hh +++ b/src/hb-ot-hdmx-table.hh @@ -125,14 +125,14 @@ struct hdmx if (unlikely (!hdmx_prime)) return_trace (false); auto it = - + hb_iota ((unsigned) numRecords) + + hb_range ((unsigned) numRecords) | hb_map ([&] (unsigned _) { const DeviceRecord *device_record = &StructAtOffset (&firstDeviceRecord, _ * sizeDeviceRecord); auto row = - + hb_iota (c->plan->num_output_glyphs ()) + + hb_range (c->plan->num_output_glyphs ()) | hb_map (c->plan->reverse_glyph_map) | hb_map ([=] (hb_codepoint_t _) {