| 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 35459944fbb7b7dbd0b37d0dfbac5c3bee82edfc..2b80cc07a51af1e9ac4fce65a2911692d266150e 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -143,7 +143,7 @@ void BlockPainter::paintAsInlineBlock(const LayoutObject& layoutObject, const Pa
|
|
|
| void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && m_layoutBlock.childrenInline()) {
|
| + if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && m_layoutBlock.childrenInline() && !paintInfo.context->displayItemList()->skippingCache()) {
|
| if (m_layoutBlock.paintOffsetChanged(paintOffset)) {
|
| LineBoxListPainter(m_layoutBlock.lineBoxes()).invalidateLineBoxPaintOffsets(paintInfo);
|
| paintInfo.context->displayItemList()->invalidatePaintOffset(m_layoutBlock);
|
|
|