summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderTable.h')
-rw-r--r--WebCore/rendering/RenderTable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderTable.h b/WebCore/rendering/RenderTable.h
index ea81d64..3d0714f 100644
--- a/WebCore/rendering/RenderTable.h
+++ b/WebCore/rendering/RenderTable.h
@@ -25,6 +25,7 @@
#ifndef RenderTable_h
#define RenderTable_h
+#include "CSSPropertyNames.h"
#include "RenderBlock.h"
#include <wtf/Vector.h>
@@ -50,7 +51,7 @@ public:
int borderTop() const;
int borderBottom() const;
- const Color& bgColor() const { return style()->backgroundColor(); }
+ const Color bgColor() const { return style()->visitedDependentColor(CSSPropertyBackgroundColor); }
int outerBorderTop() const;
int outerBorderBottom() const;