Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 387058354128dc2e7c11ef76bba0ec84dd51844c..c54c21dff93ade941cb6baf79c4dbe3aed0669b6 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -1392,6 +1392,8 @@ public: |
// Clears the IsScrollAnchorObject bit, unless any ScrollAnchor still refers to us. |
void maybeClearIsScrollAnchorObject(); |
+ void clearChildNeedsOverflowRecalcAfterStyleChange() { m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false); } |
+ |
protected: |
enum LayoutObjectType { |
LayoutObjectBr, |
@@ -1564,7 +1566,6 @@ protected: |
void setIsBackgroundAttachmentFixedObject(bool); |
void clearSelfNeedsOverflowRecalcAfterStyleChange() { m_bitfields.setSelfNeedsOverflowRecalcAfterStyleChange(false); } |
- void clearChildNeedsOverflowRecalcAfterStyleChange() { m_bitfields.setChildNeedsOverflowRecalcAfterStyleChange(false); } |
void setShouldInvalidateOverflowForPaint() { m_bitfields.setShouldInvalidateOverflowForPaint(true); } |
void setEverHadLayout() { m_bitfields.setEverHadLayout(true); } |
@@ -1606,7 +1607,7 @@ private: |
// FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox |
// recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700. |
- inline void markContainingBlocksForOverflowRecalc(); |
+ inline void markAncestorsForOverflowRecalcIfNeeded(); |
inline void markContainerChainForPaintInvalidation(); |