Index: Source/web/tests/WebFrameTest.cpp |
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
index fef56579cee90586d5fecb6bbcfc5fc5ec9ac3ae..51250c0c81f9da805c36751c521f654f2ebb0288 100644 |
--- a/Source/web/tests/WebFrameTest.cpp |
+++ b/Source/web/tests/WebFrameTest.cpp |
@@ -2718,7 +2718,7 @@ TEST_F(WebFrameTest, ClearFocusedNodeTest) |
webViewHelper.initializeAndLoad(m_baseURL + "iframe_clear_focused_node_test.html", true); |
// Clear the focused node. |
- webViewHelper.webView()->clearFocusedNode(); |
+ webViewHelper.webView()->clearFocusedElement(); |
// Now retrieve the FocusedNode and test it should be null. |
EXPECT_EQ(0, webViewHelper.webViewImpl()->focusedElement()); |