| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index da67f2e09b2b17bd4384ac0f8785146477f2e336..015917c2d7d98c7b82119a1249f0cf240a7f9e31 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -477,8 +477,8 @@ static unsigned verticalScrollDistance(LocalFrame& frame) {
|
| const ComputedStyle* style = layoutBox.style();
|
| if (!style)
|
| return 0;
|
| - if (!(style->overflowY() == OverflowScroll ||
|
| - style->overflowY() == OverflowAuto ||
|
| + if (!(style->overflowY() == EOverflow::Scroll ||
|
| + style->overflowY() == EOverflow::Auto ||
|
| hasEditableStyle(*focusedElement)))
|
| return 0;
|
| int height = std::min<int>(layoutBox.clientHeight().toInt(),
|
|
|