Index: third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
index f6979822d9ad4e6d453bca5e089ea1d986959eaf..0ee5f480688cc9c843e486ee3ae114972ae19af4 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
@@ -569,30 +569,6 @@ bool AXTable::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReasons) cons |
return false; |
} |
-String AXTable::deprecatedTitle(TextUnderElementMode mode) const |
-{ |
- if (!isAXTable()) |
- return AXLayoutObject::deprecatedTitle(mode); |
- |
- String title; |
- if (!m_layoutObject) |
- return title; |
- |
- // see if there is a caption |
- Node* tableElement = m_layoutObject->node(); |
- if (isHTMLTableElement(tableElement)) { |
- HTMLTableCaptionElement* caption = toHTMLTableElement(tableElement)->caption(); |
- if (caption) |
- title = caption->innerText(); |
- } |
- |
- // try the standard |
- if (title.isEmpty()) |
- title = AXLayoutObject::deprecatedTitle(mode); |
- |
- return title; |
-} |
- |
DEFINE_TRACE(AXTable) |
{ |
visitor->trace(m_rows); |