Index: third_party/WebKit/LayoutTests/accessibility/legend.html |
diff --git a/third_party/WebKit/LayoutTests/accessibility/legend.html b/third_party/WebKit/LayoutTests/accessibility/legend.html |
index b37751734c53b0032b140d4acd343b10817d7f88..4d46fdf40f25d05ab8ce35a0c909085dec97f78b 100644 |
--- a/third_party/WebKit/LayoutTests/accessibility/legend.html |
+++ b/third_party/WebKit/LayoutTests/accessibility/legend.html |
@@ -24,7 +24,7 @@ |
document.body.focus(); |
var body = accessibilityController.focusedElement; |
var fieldset = body.childAtIndex(0); |
- var titleUIElement = fieldset.deprecatedTitleUIElement(); |
+ var titleUIElement = fieldset.nameElementAtIndex(0); |
// Print out the tree of accessible objects, indicating the titleUIElement so |
// that each platform can verify their expected object has been found |