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 4b0058a8bad4a9baac213fbbaf43c404f4b313d2..864673defbdb4cf2c3575de65b9603eb97e693e5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
@@ -187,7 +187,7 @@ void LayoutObjectChildList::invalidatePaintOnRemoval(LayoutObject& oldChild) |
oldChild.view()->setShouldDoFullPaintInvalidation(); |
return; |
} |
- oldChild.enclosingLayer()->setNeedsRepaint(); |
+ oldChild.setPaintingLayerNeedsRepaint(); |
oldChild.invalidatePaintOfPreviousPaintInvalidationRect(oldChild.containerForPaintInvalidation(), PaintInvalidationLayoutObjectRemoval); |
} |