| 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 098c11f63e382eb7aacbf9ab8cdc2a79368075b0..26f7e40714e0ee32d4b688a77fc27252b3d88913 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -461,11 +461,7 @@ static RawPtr<CSSValueList> valueForContentPositionAndDistributionWithOverflowAl
|
|
|
| static RawPtr<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.computedLineHeight(), style);
|
| }
|
|
|
| static CSSValueID identifierForFamily(const AtomicString& family)
|
|
|