| Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| index 3e9cb5a8d955e81287d72bdd849c86b120e24fd4..e724948a96b24af80bce8cb9a032ece68e1f018a 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -142,6 +142,9 @@ void BlockPainter::paintAsInlineBlock(LayoutObject& layoutObject, const PaintInf
|
|
|
| void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| + if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && m_layoutBlock.childrenInline() && m_layoutBlock.paintOffsetChanged(paintOffset))
|
| + LineBoxListPainter(*m_layoutBlock.lineBoxes()).invalidateLineBoxPaintOffsets(paintInfo);
|
| +
|
| const PaintPhase paintPhase = paintInfo.phase;
|
|
|
| if ((paintPhase == PaintPhaseBlockBackground || paintPhase == PaintPhaseChildBlockBackground)
|
|
|