| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 597e7c877a1f8020f94fb8afedbb4adf4db3fe16..24fc091624a459c1ada7a484b78466c91ee666ad 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1454,7 +1454,7 @@ bool FrameView::processUrlFragmentHelper(const String& name, UrlFragmentBehavior
|
| // If the anchor accepts keyboard focus, move focus there to aid users relying on keyboard navigation.
|
| // If anchorNode is not focusable, setFocusedElement() will still clear focus, which matches the behavior of other browsers.
|
| if (anchorNode)
|
| - m_frame->document()->setFocusedElement(anchorNode);
|
| + m_frame->document()->setFocusedElement(anchorNode, FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone, nullptr));
|
|
|
| return true;
|
| }
|
|
|