Index: content/renderer/accessibility/renderer_accessibility_focus_only.cc |
diff --git a/content/renderer/accessibility/renderer_accessibility_focus_only.cc b/content/renderer/accessibility/renderer_accessibility_focus_only.cc |
index dd57f91299a207d8abedd32443300b3acc71dd80..59a168a98329c047eba48aac7526105a36eccd99 100644 |
--- a/content/renderer/accessibility/renderer_accessibility_focus_only.cc |
+++ b/content/renderer/accessibility/renderer_accessibility_focus_only.cc |
@@ -55,7 +55,7 @@ void RendererAccessibilityFocusOnly::DidFinishLoad(blink::WebFrame* frame) { |
// focus event. This is important so that if focus is initially in an |
// editable text field, Windows will know to pop up the keyboard if the |
// user touches it and focus doesn't change. |
- HandleFocusedNodeChanged(document.focusedNode(), false); |
+ HandleFocusedNodeChanged(document.focusedElement(), false); |
} |
void RendererAccessibilityFocusOnly::HandleFocusedNodeChanged( |