| Index: Source/core/paint/ViewPainter.cpp
|
| diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp
|
| index c61b13682dbad17cdb166a6e93f08b0d8274b9db..31733d0ace94b74b31768443fe416d502bea3418 100644
|
| --- a/Source/core/paint/ViewPainter.cpp
|
| +++ b/Source/core/paint/ViewPainter.cpp
|
| @@ -49,7 +49,7 @@ void ViewPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo)
|
| // culling and pre-blending optimization when possible.
|
|
|
| GraphicsContext& context = *paintInfo.context;
|
| - if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(context, m_layoutView, DisplayItem::BoxDecorationBackground))
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(context, m_layoutView, DisplayItem::BoxDecorationBackground, LayoutPoint()))
|
| return;
|
|
|
| IntRect documentRect = m_layoutView.unscaledDocumentRect();
|
| @@ -62,7 +62,7 @@ void ViewPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo)
|
| Color rootBackgroundColor = m_layoutView.style()->visitedDependentColor(CSSPropertyBackgroundColor);
|
| const LayoutObject* rootObject = document.documentElement() ? document.documentElement()->layoutObject() : nullptr;
|
|
|
| - LayoutObjectDrawingRecorder recorder(context, m_layoutView, DisplayItem::BoxDecorationBackground, documentRect);
|
| + LayoutObjectDrawingRecorder recorder(context, m_layoutView, DisplayItem::BoxDecorationBackground, documentRect, LayoutPoint());
|
|
|
| // Special handling for print economy mode.
|
| bool forceBackgroundToWhite = BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(m_layoutView.styleRef(), document);
|
|
|