| Index: Source/core/editing/EditorCommand.cpp
|
| diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp
|
| index 2a3c14f5d4b796a4245bdce20208bf9e374912aa..69e23abd25560ce05bbb70eb874db971de7a5d82 100644
|
| --- a/Source/core/editing/EditorCommand.cpp
|
| +++ b/Source/core/editing/EditorCommand.cpp
|
| @@ -271,7 +271,7 @@ static unsigned verticalScrollDistance(LocalFrame& frame)
|
| if (!renderer || !renderer->isBox())
|
| return 0;
|
| LayoutBox& layoutBox = toLayoutBox(*renderer);
|
| - const LayoutStyle* style = layoutBox.style();
|
| + const ComputedStyle* style = layoutBox.style();
|
| if (!style)
|
| return 0;
|
| if (!(style->overflowY() == OSCROLL || style->overflowY() == OAUTO || focusedElement->hasEditableStyle()))
|
|
|