| Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| index c786f17c198497eaaafc8c3f90c5c45753ee8e70..9e66b4195e7a8516c9a609a82c35b8720ff6c2c7 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| @@ -1313,34 +1313,7 @@ String AXObjectCacheImpl::computedNameForNode(Node* node)
|
| if (!obj)
|
| return "";
|
|
|
| - String title = obj->deprecatedTitle();
|
| -
|
| - String titleUIText;
|
| - if (title.isEmpty()) {
|
| - AXObject* titleUIElement = obj->deprecatedTitleUIElement();
|
| - if (titleUIElement) {
|
| - titleUIText = titleUIElement->deprecatedTextUnderElement();
|
| - if (!titleUIText.isEmpty())
|
| - return titleUIText;
|
| - }
|
| - }
|
| -
|
| - String description = obj->deprecatedAccessibilityDescription();
|
| - if (!description.isEmpty())
|
| - return description;
|
| -
|
| - if (!title.isEmpty())
|
| - return title;
|
| -
|
| - String placeholder;
|
| - if (isHTMLInputElement(node)) {
|
| - HTMLInputElement* element = toHTMLInputElement(node);
|
| - placeholder = element->strippedPlaceholder();
|
| - if (!placeholder.isEmpty())
|
| - return placeholder;
|
| - }
|
| -
|
| - return String();
|
| + return obj->computedName();
|
| }
|
|
|
| void AXObjectCacheImpl::onTouchAccessibilityHover(const IntPoint& location)
|
|
|