Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit fa996f5

Browse files
committed
Adjust previous_span_end when erasing rectangle from previous span
1 parent 1846eb4 commit fa996f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

display_list/geometry/dl_region.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ std::vector<SkIRect> DlRegion::getRects(bool deband) const {
4848
FML_DCHECK(iter->bottom() == rect.top());
4949
rect.fTop = iter->fTop;
5050
rects.erase(iter);
51+
--previous_span_end;
5152
break;
5253
}
5354
}

0 commit comments

Comments
 (0)