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 78f113ee91356db6d4fa0770ca580f297e4a19f1..304d6f51be3cc347061b5a52ee44bf7652b595c0 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXTable.cpp |
@@ -568,30 +568,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); |