| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 2aef8845c49e0eefc3ecf0704d817dddd0b61b04..3533d200c49504ab5ede49a400be34d991d470d4 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -581,8 +581,9 @@ bool WebLocalFrameImpl::isFocused() const {
|
| if (!viewImpl() || !viewImpl()->page())
|
| return false;
|
|
|
| - return this == WebFrame::fromFrame(
|
| - viewImpl()->page()->focusController().focusedFrame());
|
| + return this ==
|
| + WebFrame::fromFrame(
|
| + viewImpl()->page()->focusController().focusedFrame());
|
| }
|
|
|
| WebSize WebLocalFrameImpl::getScrollOffset() const {
|
| @@ -1768,8 +1769,9 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() {
|
| .setBaseAndExtent(activeMatchRange)
|
| .build());
|
| frame()->document()->setFocusedElement(
|
| - &element, FocusParams(SelectionBehaviorOnFocus::None,
|
| - WebFocusTypeNone, nullptr));
|
| + &element,
|
| + FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone,
|
| + nullptr));
|
| return;
|
| }
|
| }
|
| @@ -1784,8 +1786,9 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() {
|
| Element& element = toElement(runner);
|
| if (element.isFocusable()) {
|
| frame()->document()->setFocusedElement(
|
| - &element, FocusParams(SelectionBehaviorOnFocus::None,
|
| - WebFocusTypeNone, nullptr));
|
| + &element,
|
| + FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone,
|
| + nullptr));
|
| return;
|
| }
|
| }
|
|
|