Index: chrome/renderer/autofill/page_click_tracker_browsertest.cc |
diff --git a/chrome/renderer/autofill/page_click_tracker_browsertest.cc b/chrome/renderer/autofill/page_click_tracker_browsertest.cc |
index 79ca2f169e61176e86ab28cb9b7274c9575de194..b549615ff963efc00a9a2a595f6546fbe8a2d9fb 100644 |
--- a/chrome/renderer/autofill/page_click_tracker_browsertest.cc |
+++ b/chrome/renderer/autofill/page_click_tracker_browsertest.cc |
@@ -127,9 +127,9 @@ TEST_F(PageClickTrackerTest, PageClickTrackerInputClicked) { |
TEST_F(PageClickTrackerTest, PageClickTrackerInputFocusLost) { |
// Gain focus on the text field by using tab. |
- EXPECT_NE(text_, text_.document().focusedNode()); |
+ EXPECT_NE(text_, text_.document().focusedElement()); |
SendKeyPress(ui::VKEY_TAB); |
- EXPECT_EQ(text_, text_.document().focusedNode()); |
+ EXPECT_EQ(text_, text_.document().focusedElement()); |
EXPECT_FALSE(test_listener_.input_element_lost_focus_called_); |
// Click a button and ensure that the lost focus notification was sent, |