Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
index 24f44a38bec43c012646a3ee0f6e4fcd67af7135..35882cb020ff830f29e015b76eaca901e8648636 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h |
@@ -129,6 +129,11 @@ class CORE_EXPORT NGFragmentBuilder final { |
bool DidBreak() const { return did_break_; } |
+ NGFragmentBuilder& SetBorderEdges(NGBorderEdges::Logical border_edges) { |
+ border_edges_ = border_edges; |
+ return *this; |
+ } |
+ |
private: |
// Out-of-flow descendant placement information. |
// The generated fragment must compute NGStaticPosition for all |
@@ -181,6 +186,8 @@ class CORE_EXPORT NGFragmentBuilder final { |
WTF::Optional<NGLogicalOffset> bfc_offset_; |
NGMarginStrut end_margin_strut_; |
+ |
+ NGBorderEdges::Logical border_edges_; |
}; |
} // namespace blink |