| Index: third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| index 2c1b53b27dbd9d6f53d47e6f670e8dd1b9193b85..dbfd4cf3e2ead3dea2ba5451feee795c53260215 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp
|
| @@ -247,6 +247,17 @@ void CompositingInputsUpdater::updateRecursive(PaintLayer* layer,
|
| layer->didUpdateCompositingInputs();
|
|
|
| m_geometryMap.popMappingsToAncestor(layer->parent());
|
| +
|
| + if (layer->selfPaintingStatusChanged()) {
|
| + layer->clearSelfPaintingStatusChanged();
|
| + // If the floating object becomes non-self-painting, so some ancestor should
|
| + // paint it; if it becomes self-painting, it should paint itself and no
|
| + // ancestor should paint it.
|
| + if (layer->layoutObject()->isFloating()) {
|
| + LayoutBlockFlow::updateAncestorShouldPaintFloatingObject(
|
| + *layer->layoutBox());
|
| + }
|
| + }
|
| }
|
|
|
| #if DCHECK_IS_ON()
|
|
|