| 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 e51ccac6482ac12b479821aebca9bbcf9e7c7986..7bc15c02f34a989f731f2d5dba7c34005c4ee6d9 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -1381,7 +1381,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());
|
| }
|
|
|