Remove dead function Overflow::union_rect

This commit is contained in:
Tim van der Meij 2016-02-07 15:29:15 +01:00
parent 28ecb0bba3
commit 9e01332bed

View file

@ -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);