Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
index 4eaeda5c26f63513c16a36a3ee5d678ba42a1a73..36fa8435a00b7e9323dd80d6c0fe482687c21cc2 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h |
@@ -101,6 +101,9 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
NGLogicalOffset CalculateLogicalOffset( |
const WTF::Optional<NGLogicalOffset>& known_fragment_offset); |
+ // Updates the fragment's BFC offset if it's not already set. |
+ void UpdateFragmentBfcOffset(const NGLogicalOffset& offset); |
+ |
NGLogicalOffset GetChildSpaceOffset() const { |
return NGLogicalOffset(border_and_padding_.inline_start, content_size_); |
} |