mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Impeller] fix quadradic behavior in polyline creation (flutter/engine#36680)
This commit is contained in:
parent
e63ad0fc58
commit
9ffeb225ef
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user