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 f5b375e69f34729fad35d7b1fc39ef3a239587ee..e88385e0600c47a21b2fb98ea209e0a697e9aef4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp |
@@ -181,10 +181,8 @@ void LayoutObjectChildList::invalidatePaintOnRemoval(LayoutObject& oldChild) |
{ |
if (!oldChild.isRooted()) |
return; |
- if (oldChild.isBody()) { |
+ if (oldChild.isBody()) |
oldChild.view()->setShouldDoFullPaintInvalidation(); |
- return; |
- } |
oldChild.slowSetPaintingLayerNeedsRepaint(); |
oldChild.invalidatePaintOfPreviousPaintInvalidationRect(oldChild.containerForPaintInvalidation(), PaintInvalidationLayoutObjectRemoval); |
} |