Index: Source/core/rendering/RenderFrameSet.cpp |
diff --git a/Source/core/rendering/RenderFrameSet.cpp b/Source/core/rendering/RenderFrameSet.cpp |
index 7de277c312bb8cfa92990891e4c7574fc6be9546..d25a079309bfccbff0b53e53b017c67e516fc542 100644 |
--- a/Source/core/rendering/RenderFrameSet.cpp |
+++ b/Source/core/rendering/RenderFrameSet.cpp |
@@ -84,7 +84,7 @@ void RenderFrameSet::paintColumnBorder(const PaintInfo& paintInfo, const IntRect |
// Fill first. |
GraphicsContext* context = paintInfo.context; |
- context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPropertyBorderLeftColor) : borderFillColor()); |
+ context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftColor) : borderFillColor()); |
// Now stroke the edges but only if we have enough room to paint both edges with a little |
// bit of the fill color showing through. |
@@ -103,7 +103,7 @@ void RenderFrameSet::paintRowBorder(const PaintInfo& paintInfo, const IntRect& b |
// Fill first. |
GraphicsContext* context = paintInfo.context; |
- context->fillRect(borderRect, frameSet()->hasBorderColor() ? style()->visitedDependentColor(CSSPropertyBorderLeftColor) : borderFillColor()); |
+ context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftColor) : borderFillColor()); |
// Now stroke the edges but only if we have enough room to paint both edges with a little |
// bit of the fill color showing through. |