Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXTable.cpp

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698