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 d21aa2f7054c50265f8a9176c020565531b9e38f..8ae707a226505b6e80bba45ecea82bc278b541fa 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
@@ -301,6 +301,10 @@ public: |
bool hasOverhangingFloats() const { return parent() && containsFloats() && lowestFloatLogicalBottom() > logicalHeight(); } |
bool isOverhangingFloat(const FloatingObject& floatObject) const { return logicalBottomForFloat(floatObject) > logicalHeight(); } |
+ // This function is only public so we can call it from NGBox while we're |
+ // still working on LayoutNG. |
+ void updateIsSelfCollapsing() { m_isSelfCollapsing = checkIfIsSelfCollapsingBlock(); } |
+ |
#ifndef NDEBUG |
void showLineTreeAndMark(const InlineBox* = nullptr, const char* = nullptr, const InlineBox* = nullptr, const char* = nullptr, const LayoutObject* = nullptr) const; |
#endif |