Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
index baed4d6e70b4aed0a855943f61c291982db1628c..7ccd659ae435c66aec34bb0d2630a3de38c55d86 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
@@ -23,7 +23,8 @@ NGFragmentBuilder::NGFragmentBuilder(NGPhysicalFragment::NGFragmentType type, |
direction_(TextDirection::kLtr), |
node_(node), |
layout_object_(node->GetLayoutObject()), |
- did_break_(false) {} |
+ did_break_(false), |
+ border_edges_(NGBorderEdges::kAll) {} |
NGFragmentBuilder::NGFragmentBuilder(NGPhysicalFragment::NGFragmentType type, |
LayoutObject* layout_object) |
@@ -228,6 +229,7 @@ RefPtr<NGLayoutResult> NGFragmentBuilder::ToBoxFragment() { |
RefPtr<NGPhysicalBoxFragment> fragment = AdoptRef(new NGPhysicalBoxFragment( |
layout_object_, physical_size, overflow_.ConvertToPhysical(writing_mode_), |
children_, positioned_floats_, bfc_offset_, end_margin_strut_, |
+ NGBorderEdges::ToPhysical(border_edges_, writing_mode_), |
std::move(break_token))); |
return AdoptRef( |