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 7f1a2216f22ec528a95b4020b7bb4c17bd000ea6..07bff0ede729776c23e9038585415f3396e8b259 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -2471,22 +2471,6 @@ |
} |
} |
-void WebLocalFrameImpl::AdvanceFocusInForm(WebFocusType focus_type) { |
- DCHECK(GetFrame()->GetDocument()); |
- Element* element = GetFrame()->GetDocument()->FocusedElement(); |
- if (!element) |
- return; |
- |
- Element* next_element = |
- GetFrame()->GetPage()->GetFocusController().NextFocusableElementInForm( |
- element, focus_type); |
- if (!next_element) |
- return; |
- |
- next_element->scrollIntoViewIfNeeded(true /*centerIfNeeded*/); |
- next_element->focus(); |
-} |
- |
TextCheckerClient& WebLocalFrameImpl::GetTextCheckerClient() const { |
return *text_checker_client_; |
} |