diff options
Diffstat (limited to 'Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh')
-rw-r--r-- | Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh b/Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh index 365939d9a3a..2199d2c48b8 100644 --- a/Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh +++ b/Build/source/libs/harfbuzz/harfbuzz-src/src/OT/glyf/Glyph.hh @@ -84,6 +84,7 @@ struct Glyph if (unlikely (depth > HB_MAX_NESTING_LEVEL)) return false; contour_point_vector_t stack_points; bool inplace = type == SIMPLE && all_points.length == 0; + /* Load into all_points if it's empty, as an optimization. */ contour_point_vector_t &points = inplace ? all_points : stack_points; switch (type) { @@ -95,7 +96,6 @@ struct Glyph break; } case SIMPLE: - /* Load into all_points if it's empty, as an optimization. */ if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (points, phantom_only))) return false; break; |