| 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 6d210be8a57ddd3f052d37ff2d6940b3ab547535..03b79473ece791291c730efa8d808e6cb86a0767 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -2076,18 +2076,7 @@ PaintInvalidationReason LayoutBlockFlow::invalidatePaintIfNeeded(const PaintInva
|
| if (containsFloats())
|
| paintInvalidationState.paintingLayer().setNeedsPaintPhaseFloat();
|
|
|
| - PaintInvalidationReason reason = LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState);
|
| - if (reason == PaintInvalidationNone || reason == PaintInvalidationDelayedFull)
|
| - return reason;
|
| -
|
| - RootInlineBox* line = firstRootBox();
|
| - if (!line || !line->isFirstLineStyle())
|
| - return reason;
|
| - // It's the RootInlineBox that paints the ::first-line background. Note that since it may be
|
| - // expensive to figure out if the first line is affected by any ::first-line selectors at all,
|
| - // we just invalidate it unconditionally, since that's typically cheaper.
|
| - invalidateDisplayItemClient(*line, reason);
|
| - return reason;
|
| + return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState);
|
| }
|
|
|
| } // namespace blink
|
|
|