Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp |
| index 29f941b8cf885f87093076f0960296b85ecc048a..9673d0eb7f1ec7b44d42082b575a1012ddb6e66d 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp |
| @@ -121,8 +121,7 @@ void LayoutTextControl::computeLogicalHeight( |
| LayoutUnit nonContentHeight = innerEditorBox->borderAndPaddingHeight() + |
| innerEditorBox->marginHeight(); |
| logicalHeight = computeControlLogicalHeight( |
| - innerEditorBox->lineHeight(true, HorizontalLine, |
| - PositionOfInteriorLineBoxes), |
| + this->lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes), |
|
tkent
2017/01/19 02:13:03
nit: |this->| is unnecessary.
|
| nonContentHeight); |
| // We are able to have a horizontal scrollbar if the overflow style is |