| 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 55f3d071a5e07d9fec8d41ca0b3e715ac8d41d1e..0dae1bd1f30dba67aa8f2f02be1ccb163dd023df 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectChildList.cpp
|
| @@ -186,14 +186,7 @@ void LayoutObjectChildList::invalidatePaintOnRemoval(const LayoutObject& oldChil
|
| oldChild.view()->setShouldDoFullPaintInvalidation();
|
| return;
|
| }
|
| -
|
| - DisableCompositingQueryAsserts disabler;
|
| - // FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
|
| - DisablePaintInvalidationStateAsserts paintInvalidationAssertDisabler;
|
| - const LayoutBoxModelObject& paintInvalidationContainer = *oldChild.containerForPaintInvalidation();
|
| - const LayoutRect& invalidationRect = oldChild.previousPaintInvalidationRectIncludingCompositedScrolling(paintInvalidationContainer);
|
| - oldChild.invalidatePaintUsingContainer(paintInvalidationContainer, invalidationRect, PaintInvalidationLayoutObjectRemoval);
|
| - oldChild.invalidateDisplayItemClients(paintInvalidationContainer, PaintInvalidationLayoutObjectRemoval, invalidationRect, invalidationRect);
|
| + oldChild.invalidatePaintOfPreviousPaintInvalidationRect(*oldChild.containerForPaintInvalidation(), PaintInvalidationLayoutObjectRemoval);
|
| }
|
|
|
| } // namespace blink
|
|
|