Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
index a7c614d2967c09c4e08195a67a7a17b05a62900c..90683dda5fb3b90b8a402e7e313ed0f371283603 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
@@ -408,6 +408,10 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock { |
is_self_collapsing_ = CheckIfIsSelfCollapsingBlock(); |
} |
+ // This function is only public so we can call it from NGBlockNode while we're |
+ // still working on LayoutNG. |
+ void AddOverflowFromFloats(); |
+ |
#ifndef NDEBUG |
void ShowLineTreeAndMark(const InlineBox* = nullptr, |
const char* = nullptr, |
@@ -431,8 +435,6 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock { |
void UpdateBlockChildDirtyBitsBeforeLayout(bool relayout_children, |
LayoutBox&); |
- void AddOverflowFromFloats(); |
- |
void ComputeSelfHitTestRects(Vector<LayoutRect>&, |
const LayoutPoint& layer_offset) const override; |