Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 44cb8a86268a4cd5800bd77810462f24119c95ff..4e8f1dc3a0d80bdec23a66a427ce2b3189487a77 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -2242,14 +2242,12 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert |
} |
case CSSPropertyTextIndent: { |
RefPtr<CSSValue> textIndent = zoomAdjustedPixelValueForLength(style->textIndent(), style.get()); |
-#if ENABLE(CSS3_TEXT) |
- if (style->textIndentLine() == TextIndentEachLine) { |
+ if (RuntimeEnabledFeatures::css3TextEnabled() && style->textIndentLine() == TextIndentEachLine) { |
RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
list->append(textIndent.release()); |
- list->append(cssValuePool().createIdentifierValue(CSSValueWebkitEachLine)); |
+ list->append(cssValuePool().createIdentifierValue(CSSValueEachLine)); |
return list.release(); |
} |
-#endif |
return textIndent.release(); |
} |
case CSSPropertyTextShadow: |