mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove dead function Overflow::union_rect
This commit is contained in:
parent
28ecb0bba3
commit
9e01332bed
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue