| 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 86e6752409f2d24479e66c8daa9fd793bf877fc7..af4933052c3a708982f1b074518c319ea5345ee9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| @@ -127,8 +127,8 @@ void LayoutTextControl::computeLogicalHeight(
|
|
|
| // 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 (style()->overflowInlineDirection() == OverflowScroll ||
|
| - (style()->overflowInlineDirection() == OverflowAuto &&
|
| + if (style()->overflowInlineDirection() == EOverflow::Scroll ||
|
| + (style()->overflowInlineDirection() == EOverflow::Auto &&
|
| innerEditor->layoutObject()->style()->overflowWrap() ==
|
| NormalOverflowWrap))
|
| logicalHeight += scrollbarThickness();
|
|
|