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

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

Issue 2287433003: Get rid of remaining uses of AXObject::elementRect (Closed)
Patch Set: Rebase Created 4 years, 3 months 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/AXTableHeaderContainer.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableHeaderContainer.cpp b/third_party/WebKit/Source/modules/accessibility/AXTableHeaderContainer.cpp
index ba85fb7720b37d5261f967504812e57be9284cd6..541df9a82628632d59e5805f804a61251333ae59 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXTableHeaderContainer.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableHeaderContainer.cpp
@@ -46,12 +46,6 @@ AXTableHeaderContainer* AXTableHeaderContainer::create(AXObjectCacheImpl& axObje
return new AXTableHeaderContainer(axObjectCache);
}
-LayoutRect AXTableHeaderContainer::elementRect() const
-{
- // this will be filled in when addChildren is called
- return m_headerRect;
-}
-
bool AXTableHeaderContainer::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReasons) const
{
if (!m_parent)
@@ -76,10 +70,6 @@ void AXTableHeaderContainer::addChildren()
return;
toAXTable(m_parent)->columnHeaders(m_children);
-
- unsigned length = m_children.size();
- for (unsigned k = 0; k < length; ++k)
- m_headerRect.unite(m_children[k]->elementRect());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698