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 56682d7b3352ade8c7f5195eecd0d986a7e07c71..804222baca1097bed54664541d4a96de2a667b7d 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1352,13 +1352,6 @@ void WebLocalFrameImpl::setCaretVisible(bool visible) |
frame()->selection().setCaretVisible(visible); |
} |
-void WebLocalFrameImpl::clearFocus() |
-{ |
- // This uses setFocusedElement rather than setFocusedFrame so that blur |
- // events are properly dispatched on any currently focused elements. |
- frame()->page()->focusController().setFocusedElement(nullptr, nullptr); |
-} |
- |
VisiblePosition WebLocalFrameImpl::visiblePositionForViewportPoint(const WebPoint& pointInViewport) |
{ |
return visiblePositionForContentsPoint(frame()->view()->viewportToContents(pointInViewport), frame()); |