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
|
@ -17,7 +17,6 @@ use std::fmt;
|
|||
use std::sync::Arc;
|
||||
use style::properties::ComputedValues;
|
||||
use style::values::computed::LengthOrPercentageOrAuto;
|
||||
use util::geometry::ZERO_RECT;
|
||||
use util::logical_geometry::LogicalSize;
|
||||
|
||||
/// A table formatting context.
|
||||
|
@ -96,7 +95,7 @@ impl Flow for TableColGroupFlow {
|
|||
fn repair_style(&mut self, _: &Arc<ComputedValues>) {}
|
||||
|
||||
fn compute_overflow(&self) -> Rect<Au> {
|
||||
ZERO_RECT
|
||||
Rect::zero()
|
||||
}
|
||||
|
||||
fn generated_containing_block_size(&self, _: OpaqueFlow) -> LogicalSize<Au> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue