| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index 2bff5dd11379c36c67f38b0ed22ff2aca0c99c7e..8551dcefa802a6446a45b7c648e23dff405b99ee 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -528,15 +528,11 @@ void Element::scrollIntoViewWithOptions(const ScrollIntoViewOptions& options) {
|
| ScrollAlignment align_y =
|
| ToPhysicalAlignment(options, kVerticalScroll, is_horizontal_writing_mode);
|
|
|
| - GetDocument().GetPage()->GetSmoothScrollSequencer()->AbortAnimations();
|
| LayoutRect bounds = BoundingBox();
|
| GetLayoutObject()->ScrollRectToVisible(
|
| bounds, align_x, align_y, kProgrammaticScroll,
|
| make_visible_in_visual_viewport, behavior);
|
|
|
| - if (behavior == kScrollBehaviorSmooth)
|
| - GetDocument().GetPage()->GetSmoothScrollSequencer()->RunQueuedAnimations();
|
| -
|
| GetDocument().SetSequentialFocusNavigationStartingPoint(this);
|
| }
|
|
|
|
|