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 ed46db7dfa458a48bb2d7831fa9f3ddbbf4f6e7a..649f6cbe1d576883b8224043e52c3a30fc076d3a 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 |
@@ -19,6 +19,11 @@ namespace blink { |
class NGConstraintSpace; |
class NGLayoutResult; |
+// Updates the fragment's BFC offset if it's not already set. |
+void MaybeUpdateFragmentBfcOffset(const NGConstraintSpace&, |
+ const NGLogicalOffset&, |
+ NGFragmentBuilder* builder); |
+ |
// A class for general block layout (e.g. a <div> with no special style). |
// Lays out the children in sequence. |
class CORE_EXPORT NGBlockLayoutAlgorithm |
@@ -59,9 +64,6 @@ class CORE_EXPORT NGBlockLayoutAlgorithm |
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); |
- |
NGFragmentBuilder builder_; |
NGConstraintSpaceBuilder space_builder_; |