Index: third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
index da091be5bdce72abe151f69abc8c162070fcd91c..4e5ec779cb6b045f835252e2807cf136c78e819c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc |
@@ -34,13 +34,14 @@ bool IsContainingBlockForAbsoluteDescendant( |
} // namespace |
NGOutOfFlowLayoutPart::NGOutOfFlowLayoutPart( |
+ const NGConstraintSpace& container_space, |
const ComputedStyle& container_style, |
NGFragmentBuilder* container_builder) |
: container_style_(container_style), container_builder_(container_builder) { |
NGWritingMode writing_mode( |
FromPlatformWritingMode(container_style_.getWritingMode())); |
- NGBoxStrut borders = ComputeBorders(container_style_); |
+ NGBoxStrut borders = ComputeBorders(container_space, container_style_); |
container_border_offset_ = |
NGLogicalOffset{borders.inline_start, borders.block_start}; |
container_border_physical_offset_ = |