| Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| index 9ec10b7bc0ac7b305243d9a57c8ee468a912d753..4ceff9dfc80ec4c2cf32326bebe41ae6371f7efc 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -515,11 +515,7 @@ static CSSValueList* valueForContentPositionAndDistributionWithOverflowAlignment
|
|
|
| static CSSPrimitiveValue* valueForLineHeight(const ComputedStyle& style)
|
| {
|
| - Length length = style.lineHeight();
|
| - if (length.isNegative())
|
| - return cssValuePool().createIdentifierValue(CSSValueNormal);
|
| -
|
| - return zoomAdjustedPixelValue(floatValueForLength(length, style.getFontDescription().computedSize()), style);
|
| + return zoomAdjustedPixelValue(style.floatComputedLineHeight(), style);
|
| }
|
|
|
| static CSSValueID identifierForFamily(const AtomicString& family)
|
|
|