Index: third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
index 709c36612d2a691f662bc146a8a421a0646155da..211b6f723f564dccc91e9f08875e8147a1bedef8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
@@ -185,7 +185,7 @@ void LayoutObjectChildList::InsertChildNode(LayoutObject* owner, |
new_child->SetNeedsLayoutAndPrefWidthsRecalc( |
LayoutInvalidationReason::kAddedToLayout); |
new_child->SetShouldDoFullPaintInvalidation( |
- kPaintInvalidationLayoutObjectInsertion); |
+ PaintInvalidationReason::kAppeared); |
new_child->SetSubtreeNeedsPaintPropertyUpdate(); |
if (!owner->NormalChildNeedsLayout()) |
owner->SetChildNeedsLayout(); // We may supply the static position for an |
@@ -207,7 +207,7 @@ void LayoutObjectChildList::InvalidatePaintOnRemoval(LayoutObject& old_child) { |
paint_invalidator.SlowSetPaintingLayerNeedsRepaint(); |
paint_invalidator.InvalidatePaintOfPreviousVisualRect( |
old_child.ContainerForPaintInvalidation(), |
- kPaintInvalidationLayoutObjectRemoval); |
+ PaintInvalidationReason::kDisappeared); |
} |
} // namespace blink |