mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Replaced ZERO_RECT with Rect::zero()
This commit is contained in:
parent
8b95d7b8d8
commit
546d2f564f
6 changed files with 8 additions and 22 deletions
|
@ -31,7 +31,6 @@ use style::values::computed::LengthOrPercentage;
|
|||
use text;
|
||||
use unicode_bidi;
|
||||
use util;
|
||||
use util::geometry::ZERO_RECT;
|
||||
use util::logical_geometry::{LogicalRect, LogicalSize, WritingMode};
|
||||
use util::print_tree::PrintTree;
|
||||
use util::range::{Range, RangeIndex};
|
||||
|
@ -1749,7 +1748,7 @@ impl Flow for InlineFlow {
|
|||
fn repair_style(&mut self, _: &Arc<ComputedValues>) {}
|
||||
|
||||
fn compute_overflow(&self) -> Rect<Au> {
|
||||
let mut overflow = ZERO_RECT;
|
||||
let mut overflow = Rect::zero();
|
||||
let flow_size = self.base.position.size.to_physical(self.base.writing_mode);
|
||||
let relative_containing_block_size =
|
||||
&self.base.early_absolute_position_info.relative_containing_block_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue