Index: Source/core/rendering/InlineFlowBox.cpp |
diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp |
index 1d187f540d9a71ef8da1381582ee0dee9e78484d..cb1134ef3812194bda4a29d5fb6dcbd8b43469f2 100644 |
--- a/Source/core/rendering/InlineFlowBox.cpp |
+++ b/Source/core/rendering/InlineFlowBox.cpp |
@@ -1278,7 +1278,7 @@ void InlineFlowBox::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint& |
if (!boxModelObject()->boxShadowShouldBeAppliedToBackground(BackgroundBleedNone, this)) |
paintBoxShadow(paintInfo, styleToUse, Normal, paintRect); |
- Color c = styleToUse->visitedDependentColor(CSSPropertyBackgroundColor); |
+ Color c = renderer()->resolveColor(styleToUse, CSSPropertyBackgroundColor); |
paintFillLayers(paintInfo, c, styleToUse->backgroundLayers(), paintRect); |
paintBoxShadow(paintInfo, styleToUse, Inset, paintRect); |