Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 2db2c04bd61d7ee29f41a202875daaffcac6e994..bc709b5908cd8a26d243d874d46d14179a99359e 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -2214,14 +2214,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: |