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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/modules/accessibility/AXTable.h ('k') | Source/modules/accessibility/AXTableCell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXTable.cpp
diff --git a/Source/modules/accessibility/AXTable.cpp b/Source/modules/accessibility/AXTable.cpp
index b4979833d46fe1bff0844f03b335c636f4d0c510..ee20892dc4ce90943a99c8f4b9fdcac1520b0f7a 100644
--- a/Source/modules/accessibility/AXTable.cpp
+++ b/Source/modules/accessibility/AXTable.cpp
@@ -48,7 +48,7 @@ namespace blink {
using namespace HTMLNames;
-AXTable::AXTable(RenderObject* renderer, AXObjectCacheImpl* axObjectCache)
+AXTable::AXTable(LayoutObject* renderer, AXObjectCacheImpl* axObjectCache)
: AXRenderObject(renderer, axObjectCache)
, m_headerContainer(nullptr)
, m_isAXTable(true)
@@ -65,7 +65,7 @@ void AXTable::init()
m_isAXTable = isTableExposableThroughAccessibility();
}
-PassRefPtr<AXTable> AXTable::create(RenderObject* renderer, AXObjectCacheImpl* axObjectCache)
+PassRefPtr<AXTable> AXTable::create(LayoutObject* renderer, AXObjectCacheImpl* axObjectCache)
{
return adoptRef(new AXTable(renderer, axObjectCache));
}
@@ -274,7 +274,7 @@ bool AXTable::isDataTable() const
// For the first 5 rows, cache the background color so we can check if this table has zebra-striped rows.
if (row < 5 && row == alternatingRowColorCount) {
- RenderObject* layoutRow = cell->parent();
+ LayoutObject* layoutRow = cell->parent();
if (!layoutRow || !layoutRow->isBoxModelObject() || !toRenderBoxModelObject(layoutRow)->isTableRow())
continue;
RenderStyle* rowRenderStyle = layoutRow->style();
« no previous file with comments | « Source/modules/accessibility/AXTable.h ('k') | Source/modules/accessibility/AXTableCell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698