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

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 ChromeVox and Automation API tests 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 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);

Powered by Google App Engine
This is Rietveld 408576698