Skip to content

Commit

Permalink
Remove dead function Overflow::union_rect
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandermeij committed Feb 7, 2016
1 parent 28ecb0b commit 9e01332
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/layout/fragment.rs
Expand Up @@ -2602,11 +2602,6 @@ impl Overflow {
self.paint = self.paint.union(&other.paint);
}

pub fn union_rect(&mut self, rect: &Rect<Au>) {
self.scroll = self.scroll.union(&rect);
self.paint = self.paint.union(&rect);
}

pub fn translate(&mut self, point: &Point2D<Au>) {
self.scroll = self.scroll.translate(point);
self.paint = self.paint.translate(point);
Expand Down

0 comments on commit 9e01332

Please sign in to comment.