diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h b/chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h index 0ca512fee7f..a76a849df0b 100644 --- a/chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h +++ b/chromium/third_party/blink/renderer/core/layout/ng/ng_container_fragment_builder.h @@ -88,10 +88,6 @@ class CORE_EXPORT NGContainerFragmentBuilder : public NGFragmentBuilder { const ChildrenVector& Children() const { return children_; } - // Returns offset for given child. DCHECK if child not found. - // Warning: Do not call unless necessary. - LogicalOffset GetChildOffset(const LayoutObject* child) const; - // Builder has non-trivial OOF-positioned methods. // They are intended to be used by a layout algorithm like this: // @@ -183,8 +179,9 @@ class CORE_EXPORT NGContainerFragmentBuilder : public NGFragmentBuilder { #endif protected: - friend class NGPhysicalContainerFragment; + friend class NGInlineLayoutStateStack; friend class NGLayoutResult; + friend class NGPhysicalContainerFragment; NGContainerFragmentBuilder(NGLayoutInputNode node, scoped_refptr<const ComputedStyle> style, @@ -240,6 +237,8 @@ class CORE_EXPORT NGContainerFragmentBuilder : public NGFragmentBuilder { bool has_block_fragmentation_ = false; bool is_fragmentation_context_root_ = false; bool may_have_descendant_above_block_start_ = false; + + bool has_oof_candidate_that_needs_block_offset_adjustment_ = false; }; } // namespace blink |