| Index: Source/core/paint/ViewPainter.cpp
|
| diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp
|
| index 8a881be9d57a641b2052beb80a65aa5d838a5bc4..bf8abc18b5fd268aa14bc4d9dc82547aa3a8eb1d 100644
|
| --- a/Source/core/paint/ViewPainter.cpp
|
| +++ b/Source/core/paint/ViewPainter.cpp
|
| @@ -69,7 +69,7 @@ void ViewPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo)
|
|
|
| bool shouldPaintBackground = true;
|
| Node* documentElement = m_layoutView.document().documentElement();
|
| - if (LayoutBox* rootBox = documentElement ? toLayoutBox(documentElement->renderer()) : 0)
|
| + if (LayoutBox* rootBox = documentElement ? toLayoutBox(documentElement->layoutObject()) : 0)
|
| shouldPaintBackground = !rootFillsViewportBackground(rootBox) || !rendererObscuresBackground(rootBox);
|
|
|
| // If painting will entirely fill the view, no need to fill the background.
|
|
|