Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 80bbf1b9c1caa164c41519188afb2ff8c9b8d76d..08fd67f5548ccda2aca0c277cec34338c5310e4f 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -2456,9 +2456,9 @@ Color FrameView::documentBackgroundColor() const |
// otherwise poses problems when the aggregate is not |
// fully opaque. |
if (htmlElement && htmlElement->renderer()) |
- result = result.blend(htmlElement->renderer()->style()->visitedDependentColor(CSSPropertyBackgroundColor)); |
+ result = result.blend(htmlElement->renderer()->resolveColor(CSSPropertyBackgroundColor)); |
if (bodyElement && bodyElement->renderer()) |
- result = result.blend(bodyElement->renderer()->style()->visitedDependentColor(CSSPropertyBackgroundColor)); |
+ result = result.blend(bodyElement->renderer()->resolveColor(CSSPropertyBackgroundColor)); |
return result; |
} |