Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h

Issue 2954953002: [LayoutNG] Abort a layout once the BFC offset is resolved. (Closed)
Patch Set: rebase. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698