FocusController::setFocusedNode() should be setFocusedElement().
[WebKit-https.git] / Source / WebCore / plugins / PluginView.cpp
index 0988ef1..85ca0fa 100644 (file)
@@ -889,7 +889,7 @@ void PluginView::focusPluginElement()
 {
     // Focus the plugin
     if (Page* page = m_parentFrame->page())
-        page->focusController()->setFocusedNode(m_element, m_parentFrame);
+        page->focusController()->setFocusedElement(m_element, m_parentFrame);
     else
         m_parentFrame->document()->setFocusedNode(m_element);
 }