| Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| index 138efd024b1388d9d43a83fbb76c1594ed67a420..66675f5dee8dc6a56de4f99ae1a4e3506d14a1f4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -274,7 +274,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(co
|
| textBlockStyle->setOverflowWrap(NormalOverflowWrap);
|
| textBlockStyle->setTextOverflow(textShouldBeTruncated() ? TextOverflowEllipsis : TextOverflowClip);
|
|
|
| - int computedLineHeight = lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes);
|
| + int computedLineHeight = lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes).toInt();
|
| // Do not allow line-height to be smaller than our default.
|
| if (textBlockStyle->fontSize() >= computedLineHeight)
|
| textBlockStyle->setLineHeight(ComputedStyle::initialLineHeight());
|
|
|