Index: Source/core/paint/ViewPainter.cpp |
diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp |
index 0432bdede0d29f3cb4041389687ff523b227111c..6365dce2e4ba7fbaab5ceee7cc4fa97badc1ef04 100644 |
--- a/Source/core/paint/ViewPainter.cpp |
+++ b/Source/core/paint/ViewPainter.cpp |
@@ -49,8 +49,8 @@ static inline bool rendererObscuresBackground(LayoutBox* rootBox) |
if (rootBox->compositingState() == PaintsIntoOwnBacking) |
return false; |
- const LayoutObject* rootRenderer = rootBox->rendererForRootBackground(); |
- if (rootRenderer->style()->backgroundClip() == TextFillBox) |
+ const LayoutObject* rootLayoutObject = rootBox->layoutObjectForRootBackground(); |
+ if (rootLayoutObject->style()->backgroundClip() == TextFillBox) |
return false; |
return true; |