forked from firka/flutter
[Impeller] fix quadradic behavior in polyline creation (flutter/engine#36680)
This commit is contained in:
@@ -232,8 +232,6 @@ Path::Polyline Path::CreatePolyline(
|
||||
return;
|
||||
}
|
||||
|
||||
polyline.points.reserve(polyline.points.size() + collection.size());
|
||||
|
||||
for (const auto& point : collection) {
|
||||
if (previous_contour_point.has_value() &&
|
||||
previous_contour_point.value() == point) {
|
||||
|
||||
Reference in New Issue
Block a user