Index: Source/core/paint/BoxPainter.cpp |
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp |
index 11b3a7d2e67280ad2b8adda08db7477fa2a0dcd4..f0ca0fafcdc99e835e328e9c3bfc43be013ae47d 100644 |
--- a/Source/core/paint/BoxPainter.cpp |
+++ b/Source/core/paint/BoxPainter.cpp |
@@ -164,12 +164,12 @@ void BoxPainter::paintRootBoxFillLayers(const PaintInfo& paintInfo) |
if (paintInfo.skipRootBackground()) |
return; |
- LayoutObject* rootBackgroundRenderer = m_layoutBox.rendererForRootBackground(); |
+ LayoutObject* rootBackgroundLayoutObject = m_layoutBox.layoutObjectForRootBackground(); |
- const FillLayer& bgLayer = rootBackgroundRenderer->style()->backgroundLayers(); |
- Color bgColor = rootBackgroundRenderer->resolveColor(CSSPropertyBackgroundColor); |
+ const FillLayer& bgLayer = rootBackgroundLayoutObject->style()->backgroundLayers(); |
+ Color bgColor = rootBackgroundLayoutObject->resolveColor(CSSPropertyBackgroundColor); |
- paintFillLayers(paintInfo, bgColor, bgLayer, scrolledBackgroundRect(), BackgroundBleedNone, SkXfermode::kSrcOver_Mode, rootBackgroundRenderer); |
+ paintFillLayers(paintInfo, bgColor, bgLayer, scrolledBackgroundRect(), BackgroundBleedNone, SkXfermode::kSrcOver_Mode, rootBackgroundLayoutObject); |
} |
void BoxPainter::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer& fillLayer, const LayoutRect& rect, |