| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index cb416dca18088a6b66608b98352cce926530b206..9218b3cb3b70e354c2e54fdf15e0bc62c601ccaf 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -251,7 +251,7 @@ void LayoutBoxModelObject::styleDidChange(StyleDifference diff, const ComputedSt
|
| bool newStyleIsFixedPosition = style()->position() == FixedPosition;
|
| bool oldStyleIsFixedPosition = oldStyle->position() == FixedPosition;
|
| if (newStyleIsFixedPosition != oldStyleIsFixedPosition)
|
| - invalidateDisplayItemClientsIncludingNonCompositingDescendants(nullptr, PaintInvalidationStyleChange);
|
| + invalidateDisplayItemClientsIncludingNonCompositingDescendants(PaintInvalidationStyleChange);
|
| }
|
|
|
| // The used style for body background may change due to computed style change
|
| @@ -438,28 +438,6 @@ void LayoutBoxModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRe
|
| }
|
| }
|
|
|
| -void LayoutBoxModelObject::invalidateDisplayItemClientOnBacking(const DisplayItemClient& displayItemClient, PaintInvalidationReason invalidationReason, const LayoutObject* layoutObject) const
|
| -{
|
| - displayItemClient.setDisplayItemsUncached();
|
| -
|
| - // We need to inform the GraphicsLayer about this paint invalidation only when we are tracking
|
| - // paint invalidation or ENABLE(ASSERT).
|
| -#if !ENABLE(ASSERT)
|
| - if (!frameView()->isTrackingPaintInvalidations())
|
| - return;
|
| -#endif
|
| -
|
| - if (layer()->groupedMapping()) {
|
| - if (GraphicsLayer* squashingLayer = layer()->groupedMapping()->squashingLayer())
|
| - squashingLayer->displayItemClientWasInvalidated(displayItemClient, invalidationReason);
|
| - } else if (CompositedLayerMapping* compositedLayerMapping = layer()->compositedLayerMapping()) {
|
| - if (layoutObject && layoutObject->compositedScrollsWithRespectTo(*this))
|
| - compositedLayerMapping->scrollingDisplayItemClientWasInvalidated(displayItemClient, invalidationReason);
|
| - else
|
| - compositedLayerMapping->displayItemClientWasInvalidated(displayItemClient, invalidationReason);
|
| - }
|
| -}
|
| -
|
| void LayoutBoxModelObject::addOutlineRectsForNormalChildren(Vector<LayoutRect>& rects, const LayoutPoint& additionalOffset, IncludeBlockVisualOverflowOrNot includeBlockOverflows) const
|
| {
|
| for (LayoutObject* child = slowFirstChild(); child; child = child->nextSibling()) {
|
|
|