| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index c0e08b009789601a1daf2bd0e26354c151ca3c37..6d210be8a57ddd3f052d37ff2d6940b3ab547535 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -2062,6 +2062,15 @@ void LayoutBlockFlow::setShouldDoFullPaintInvalidationForFirstLine()
|
| firstRootBox->setShouldDoFullPaintInvalidationRecursively();
|
| }
|
|
|
| +bool LayoutBlockFlow::paintedOutputOfObjectHasNoEffect() const
|
| +{
|
| + // LayoutBlockFlow is in charge of paint invalidation of the first line.
|
| + if (firstLineBox())
|
| + return false;
|
| +
|
| + return LayoutBlock::paintedOutputOfObjectHasNoEffect();
|
| +}
|
| +
|
| PaintInvalidationReason LayoutBlockFlow::invalidatePaintIfNeeded(const PaintInvalidationState& paintInvalidationState)
|
| {
|
| if (containsFloats())
|
|
|