From: Behdad Esfahbod Date: Thu, 11 Oct 2018 00:43:21 +0000 (-0400) Subject: [kerx] More UnsizedArrayOf<> X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9165f5450b99e6d93e2a168b198384a221eef58;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [kerx] More UnsizedArrayOf<> --- diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index 0d3b330..edc17a3 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -205,8 +205,7 @@ struct KerxSubTableFormat2 TRACE_SANITIZE (this); return_trace (likely (rowWidth.sanitize (c) && leftClassTable.sanitize (c, this) && - rightClassTable.sanitize (c, this) && - array.sanitize (c, this))); + rightClassTable.sanitize (c, this))); } struct accelerator_t @@ -233,7 +232,8 @@ struct KerxSubTableFormat2 LOffsetTo > rightClassTable;/* Offset from beginning of this subtable to * right-hand class table. */ - LOffsetTo array; /* Offset from beginning of this subtable to + LOffsetTo, false> + array; /* Offset from beginning of this subtable to * the start of the kerning array. */ public: DEFINE_SIZE_STATIC (28); @@ -324,12 +324,10 @@ struct KerxSubTableFormat6 is_long () ? ( u.l.rowIndexTable.sanitize (c, this) && - u.l.columnIndexTable.sanitize (c, this) && - u.l.array.sanitize (c, this) + u.l.columnIndexTable.sanitize (c, this) ) : ( u.s.rowIndexTable.sanitize (c, this) && - u.s.columnIndexTable.sanitize (c, this) && - u.s.array.sanitize (c, this) + u.s.columnIndexTable.sanitize (c, this) ))); } @@ -359,13 +357,15 @@ struct KerxSubTableFormat6 { LOffsetTo > rowIndexTable; LOffsetTo > columnIndexTable; - LOffsetTo array; + LOffsetTo, false> + array; } l; struct Short { LOffsetTo > rowIndexTable; LOffsetTo > columnIndexTable; - LOffsetTo array; + LOffsetTo, false> + array; } s; } u; public: