| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index c3b28edacb650bac880d9eb4cb8ec91bafe68ee0..4ee6ec80496a31249202b46532fb4eeb843a4492 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -1351,7 +1351,7 @@ int ComputedStyle::computedLineHeight() const
|
| return fontMetrics().lineSpacing();
|
|
|
| if (lh.hasPercent())
|
| - return minimumValueForLength(lh, computedFontSize());
|
| + return minimumValueForLength(lh, LayoutUnit(computedFontSize()));
|
|
|
| return std::min(lh.value(), LayoutUnit::max().toFloat());
|
| }
|
|
|