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 859ed9967d4c420907b7b2fb2ce70167129e7875..501dbc9c8fbdb5a03888f207cf53f5198b65d07f 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1767,8 +1767,9 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() { |
.setBaseAndExtent(activeMatchRange) |
.build()); |
frame()->document()->setFocusedElement( |
- &element, FocusParams(SelectionBehaviorOnFocus::None, |
- WebFocusTypeNone, nullptr)); |
+ &element, |
+ FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone, |
+ InputDeviceCapabilities::Null)); |
return; |
} |
} |
@@ -1783,8 +1784,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, |
+ InputDeviceCapabilities::Null)); |
return; |
} |
} |