| 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 67d63bd59207fae24d411f906a883aef89dc117b..405ec8ed26bcb40a429935678af58618593c03ba 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() == EOverflow::Scroll ||
|
| - (style()->overflowInlineDirection() == EOverflow::Auto &&
|
| + if (style()->overflowInlineDirection() == EOverflow::kScroll ||
|
| + (style()->overflowInlineDirection() == EOverflow::kAuto &&
|
| innerEditor->layoutObject()->style()->overflowWrap() ==
|
| NormalOverflowWrap))
|
| logicalHeight += scrollbarThickness();
|
|
|