diff options
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r-- | components/layout/block.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs index 24128ca2ae7..1f4eb92ea51 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -50,7 +50,7 @@ use crate::model::{ use crate::sequential; use crate::traversal::PreorderFlowTraversal; use app_units::{Au, MAX_AU}; -use euclid::{Point2D, Rect, SideOffsets2D, Size2D}; +use euclid::default::{Point2D, Rect, SideOffsets2D, Size2D}; use gfx_traits::print_tree::PrintTree; use serde::{Serialize, Serializer}; use servo_geometry::MaxRect; @@ -2610,7 +2610,7 @@ impl Flow for BlockFlow { .relative_containing_block_mode, CoordinateSystem::Own, ) - .translate(&stacking_context_position.to_vector()), + .translate(stacking_context_position.to_vector()), ); } |