Chromium Code Reviews| Index: Source/core/paint/ViewPainter.cpp |
| diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp |
| index c61b13682dbad17cdb166a6e93f08b0d8274b9db..565a4c26a35e1dd6a6e04d12468a3f1874b46553 100644 |
| --- a/Source/core/paint/ViewPainter.cpp |
| +++ b/Source/core/paint/ViewPainter.cpp |
| @@ -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, LayoutRect(documentRect)); |
|
jbroman
2015/08/26 21:45:09
ditto
chrishtr
2015/08/26 22:32:21
Done
|
| // Special handling for print economy mode. |
| bool forceBackgroundToWhite = BoxPainter::shouldForceWhiteBackgroundForPrintEconomy(m_layoutView.styleRef(), document); |