Cleanup DEFINE_SIZE_VAR2
diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh
index 6542e5f..d0ab1d1 100644
--- a/src/hb-ot-layout-common-private.hh
+++ b/src/hb-ot-layout-common-private.hh
@@ -307,7 +307,7 @@
* structure. This field is only present if bit
* UseMarkFilteringSet of lookup flags is set. */
public:
- DEFINE_SIZE_VAR2 (6, Offset, USHORT);
+ DEFINE_SIZE_VAR2 (6, subTable, markFilteringSetX);
};
typedef OffsetListOf<Lookup> LookupList;
@@ -440,7 +440,7 @@
CoverageFormat2 format2[VAR];
} u;
public:
- DEFINE_SIZE_MIN (2);
+ DEFINE_SIZE_UNION (2, format);
};
@@ -562,7 +562,7 @@
ClassDefFormat2 format2[VAR];
} u;
public:
- DEFINE_SIZE_MIN (2);
+ DEFINE_SIZE_UNION (2, format);
};