| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index ba11080d1292f01d6b4864497998fd6e55cbb228..f9da27f0efe35a3a26bdad096795891aac51c436 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1134,7 +1134,7 @@ LayoutRect LayoutObject::InvalidatePaintRectangle(
|
| dirty_rect, display_item_client);
|
| }
|
|
|
| -void LayoutObject::InvalidateTreeIfNeeded(
|
| +void LayoutObject::DeprecatedInvalidateTree(
|
| const PaintInvalidationState& paint_invalidation_state) {
|
| DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
|
| EnsureIsReadyForPaintInvalidation();
|
| @@ -1154,20 +1154,20 @@ void LayoutObject::InvalidateTreeIfNeeded(
|
| }
|
|
|
| PaintInvalidationReason reason =
|
| - InvalidatePaint(new_paint_invalidation_state);
|
| + DeprecatedInvalidatePaint(new_paint_invalidation_state);
|
| new_paint_invalidation_state.UpdateForChildren(reason);
|
| - InvalidatePaintOfSubtreesIfNeeded(new_paint_invalidation_state);
|
| + DeprecatedInvalidatePaintOfSubtrees(new_paint_invalidation_state);
|
|
|
| ClearPaintInvalidationFlags();
|
| }
|
|
|
| DISABLE_CFI_PERF
|
| -void LayoutObject::InvalidatePaintOfSubtreesIfNeeded(
|
| +void LayoutObject::DeprecatedInvalidatePaintOfSubtrees(
|
| const PaintInvalidationState& child_paint_invalidation_state) {
|
| DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
|
|
|
| for (auto* child = SlowFirstChild(); child; child = child->NextSibling())
|
| - child->InvalidateTreeIfNeeded(child_paint_invalidation_state);
|
| + child->DeprecatedInvalidateTree(child_paint_invalidation_state);
|
| }
|
|
|
| LayoutRect LayoutObject::SelectionRectInViewCoordinates() const {
|
| @@ -1177,7 +1177,7 @@ LayoutRect LayoutObject::SelectionRectInViewCoordinates() const {
|
| return selection_rect;
|
| }
|
|
|
| -PaintInvalidationReason LayoutObject::InvalidatePaint(
|
| +PaintInvalidationReason LayoutObject::DeprecatedInvalidatePaint(
|
| const PaintInvalidationState& paint_invalidation_state) {
|
| DCHECK_EQ(&paint_invalidation_state.CurrentObject(), this);
|
|
|
|
|