| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index f064c617979cd42dffdc43c4738a1603d497bc94..dbc39e89289b83c161530a0cc4f2242b1a83d1b3 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1467,6 +1467,9 @@ bool LayoutBox::intersectsVisibleViewport()
|
|
|
| PaintInvalidationReason LayoutBox::invalidatePaintIfNeeded(PaintInvalidationState& paintInvalidationState, const LayoutBoxModelObject& paintInvalidationContainer)
|
| {
|
| + if (isFloating())
|
| + paintInvalidationState.enclosingSelfPaintingLayer(*this).setNeedsPaintPhaseFloat();
|
| +
|
| PaintInvalidationReason fullInvalidationReason = fullPaintInvalidationReason();
|
| // If the current paint invalidation reason is PaintInvalidationDelayedFull, then this paint invalidation can delayed if the
|
| // LayoutBox in question is not on-screen. The logic to decide whether this is appropriate exists at the site of the original
|
|
|