Index: chrome/renderer/autofill/password_generation_agent_browsertest.cc |
diff --git a/chrome/renderer/autofill/password_generation_agent_browsertest.cc b/chrome/renderer/autofill/password_generation_agent_browsertest.cc |
index 5e24681838981707bb71daa80a6b6ec1ee25aca7..a1686605a0f2e0ebcc3ff0a7964b92e2fac80164 100644 |
--- a/chrome/renderer/autofill/password_generation_agent_browsertest.cc |
+++ b/chrome/renderer/autofill/password_generation_agent_browsertest.cc |
@@ -171,7 +171,7 @@ TEST_F(PasswordGenerationAgentTest, FillTest) { |
// https://bugs.webkit.org/show_bug.cgi?id=90224 has been fixed. |
element = document.getElementById(WebString::fromUTF8("first_password")); |
ASSERT_FALSE(element.isNull()); |
- EXPECT_EQ(element, document.focusedNode()); |
+ EXPECT_EQ(element, document.focusedElement()); |
} |
TEST_F(PasswordGenerationAgentTest, EditingTest) { |