Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index e951dea957d7a6ee4cc9f66335e3adb66e4af824..3c3377d4b74fc251cfa1391c699ae2fbf5e73f2c 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -2512,6 +2512,12 @@ void WebViewImpl::setInitialFocus(bool reverse) |
void WebViewImpl::clearFocusedNode() |
{ |
+ // Deprecated API. Use clearFocusedElement instead. |
+ clearFocusedElement(); |
+} |
+ |
+void WebViewImpl::clearFocusedElement() |
+{ |
RefPtr<Frame> frame = focusedWebCoreFrame(); |
if (!frame) |
return; |