| 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 ccf060bcbe63c7925c79cfe148bfb0517e26cbd9..6b0551810cf9d4af150176d48f1755ce3ea0ab63 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -788,7 +788,8 @@ public:
|
|
|
| Element* offsetParent() const;
|
|
|
| - void markContainerChainForLayout(bool scheduleRelayout = true, SubtreeLayoutScope* = nullptr);
|
| + void markContainerChainForLayout(bool scheduleRelayout = true);
|
| + void markContainerChainForLayout(SubtreeLayoutScope*);
|
| void setNeedsLayout(LayoutInvalidationReasonForTracing, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr);
|
| void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTracing, MarkingBehavior = MarkContainerChain, SubtreeLayoutScope* = nullptr);
|
| void clearNeedsLayout();
|
| @@ -1532,6 +1533,8 @@ private:
|
|
|
| void setNeedsOverflowRecalcAfterStyleChange();
|
|
|
| + void markContainerChainForLayout(bool scheduleRelayout, SubtreeLayoutScope*);
|
| +
|
| // FIXME: This should be 'markContaingBoxChainForOverflowRecalc when we make LayoutBox
|
| // recomputeOverflow-capable. crbug.com/437012 and crbug.com/434700.
|
| inline void markContainingBlocksForOverflowRecalc();
|
| @@ -1935,7 +1938,7 @@ inline void LayoutObject::setNeedsLayout(LayoutInvalidationReasonForTracing reas
|
| "data",
|
| InspectorLayoutInvalidationTrackingEvent::data(this, reason));
|
| if (markParents == MarkContainerChain && (!layouter || layouter->root() != this))
|
| - markContainerChainForLayout(true, layouter);
|
| + markContainerChainForLayout(layouter);
|
| }
|
| }
|
|
|
| @@ -1972,7 +1975,7 @@ inline void LayoutObject::setChildNeedsLayout(MarkingBehavior markParents, Subtr
|
| setNormalChildNeedsLayout(true);
|
| // FIXME: Replace MarkOnlyThis with the SubtreeLayoutScope code path and remove the MarkingBehavior argument entirely.
|
| if (!alreadyNeededLayout && markParents == MarkContainerChain && (!layouter || layouter->root() != this))
|
| - markContainerChainForLayout(true, layouter);
|
| + markContainerChainForLayout(layouter);
|
| }
|
|
|
| inline void LayoutObject::setNeedsPositionedMovementLayout()
|
|
|