Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index fb211b88f2b49934cfb7581e51e6c98702595bdd..012016f063f344d3d06cee9f3ef5b451a32d6de3 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -2796,12 +2796,10 @@ bool RenderObject::hasBlendMode() const |
static Color decorationColor(RenderStyle* style) |
{ |
Color result; |
-#if ENABLE(CSS3_TEXT) |
// Check for text decoration color first. |
- result = style->visitedDependentColor(CSSPropertyWebkitTextDecorationColor); |
+ result = style->visitedDependentColor(CSSPropertyTextDecorationColor); |
if (result.isValid()) |
return result; |
-#endif // CSS3_TEXT |
if (style->textStrokeWidth() > 0) { |
// Prefer stroke color if possible but not if it's fully transparent. |
result = style->visitedDependentColor(CSSPropertyWebkitTextStrokeColor); |