Skip to content

Commit

Permalink
Adjust previous_span_end when erasing rectangle from previous span
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Jun 5, 2023
1 parent 1846eb4 commit fa996f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions display_list/geometry/dl_region.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ std::vector<SkIRect> DlRegion::getRects(bool deband) const {
FML_DCHECK(iter->bottom() == rect.top());
rect.fTop = iter->fTop;
rects.erase(iter);
--previous_span_end;
break;
}
}
Expand Down

0 comments on commit fa996f5

Please sign in to comment.