diff --git a/src/OT/glyf/Glyph.hh b/src/OT/glyf/Glyph.hh index 1dd2338a9..2bb7984f7 100644 --- a/src/OT/glyf/Glyph.hh +++ b/src/OT/glyf/Glyph.hh @@ -95,8 +95,7 @@ struct Glyph break; } case SIMPLE: - /* Load into all_points if it's empty, as an optimization. */ - if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (all_points.length == 0 ? all_points : points, phantom_only))) + if (unlikely (!SimpleGlyph (*header, bytes).get_contour_points (points, phantom_only))) return false; break; }