Index: Source/core/rendering/RenderTextControl.cpp |
diff --git a/Source/core/rendering/RenderTextControl.cpp b/Source/core/rendering/RenderTextControl.cpp |
index ca2cfe489ff558cf9e9294fb5890a48b6e0ad5d8..db016a65fe9975f42db8f0ee6aa3eeede4babfcc 100644 |
--- a/Source/core/rendering/RenderTextControl.cpp |
+++ b/Source/core/rendering/RenderTextControl.cpp |
@@ -130,7 +130,7 @@ void RenderTextControl::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUni |
ASSERT(innerEditor); |
if (RenderBox* innerEditorBox = innerEditor->renderBox()) { |
LayoutUnit nonContentHeight = innerEditorBox->borderAndPaddingHeight() + innerEditorBox->marginHeight(); |
- logicalHeight = computeControlLogicalHeight(innerEditorBox->lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes), nonContentHeight); |
+ logicalHeight = computeControlLogicalHeight(innerEditorBox->lineHeight(FirstLineStyle, HorizontalLine, PositionOfInteriorLineBoxes), nonContentHeight); |
// We are able to have a horizontal scrollbar if the overflow style is scroll, or if its auto and there's no word wrap. |
if ((isHorizontalWritingMode() && (style()->overflowX() == OSCROLL || (style()->overflowX() == OAUTO && innerEditor->renderer()->style()->overflowWrap() == NormalOverflowWrap))) |