| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index e31a15ba917ac60211ce405a3072e80fae1ad9d7..1647ec030e815d4be9462f5a80a0dd854ee9666d 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -1615,10 +1615,13 @@ Range* Editor::FindStringAndScrollToVisible(const String& target,
|
| return nullptr;
|
|
|
| Node* first_node = next_match->FirstNode();
|
| +
|
| first_node->GetLayoutObject()->ScrollRectToVisible(
|
| LayoutRect(next_match->BoundingBox()),
|
| ScrollAlignment::kAlignCenterIfNeeded,
|
| - ScrollAlignment::kAlignCenterIfNeeded, kUserScroll);
|
| + ScrollAlignment::kAlignCenterIfNeeded, kProgrammaticScroll, true,
|
| + kScrollBehaviorSmooth);
|
| +
|
| first_node->GetDocument().SetSequentialFocusNavigationStartingPoint(
|
| first_node);
|
|
|
|
|