| Index: third_party/WebKit/Source/core/paint/InlinePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/InlinePainter.cpp b/third_party/WebKit/Source/core/paint/InlinePainter.cpp
|
| index e8f9541b512443b3de421f16b5405f0d6891e625..b27b62b5f7c1b38fb30a2f285902cdc0feac0a5c 100644
|
| --- a/third_party/WebKit/Source/core/paint/InlinePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/InlinePainter.cpp
|
| @@ -21,6 +21,9 @@ namespace blink {
|
|
|
| void InlinePainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| + if (RuntimeEnabledFeatures::slimmingPaintOffsetCachingEnabled() && m_layoutInline.paintOffsetChanged(paintOffset))
|
| + LineBoxListPainter(*m_layoutInline.lineBoxes()).invalidateLineBoxPaintOffsets(paintInfo);
|
| +
|
| // FIXME: When Skia supports annotation rect covering (https://code.google.com/p/skia/issues/detail?id=3872),
|
| // this rect may be covered by foreground and descendant drawings. Then we may need a dedicated paint phase.
|
| if (paintInfo.phase == PaintPhaseForeground && paintInfo.isPrinting())
|
|
|