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

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

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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: Source/modules/accessibility/AXTable.cpp
diff --git a/Source/modules/accessibility/AXTable.cpp b/Source/modules/accessibility/AXTable.cpp
index c7687a07e7714399b3784a303d770087c5b6abef..b5aeb9715f7ca5321b4bdc59bf1e4718a729b773 100644
--- a/Source/modules/accessibility/AXTable.cpp
+++ b/Source/modules/accessibility/AXTable.cpp
@@ -65,9 +65,9 @@ void AXTable::init()
m_isAXTable = isTableExposableThroughAccessibility();
}
-PassRefPtr<AXTable> AXTable::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+PassRefPtrWillBeRawPtr<AXTable> AXTable::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
{
- return adoptRef(new AXTable(layoutObject, axObjectCache));
+ return adoptRefWillBeNoop(new AXTable(layoutObject, axObjectCache));
}
bool AXTable::hasARIARole() const
@@ -542,7 +542,6 @@ AXTableCell* AXTable::cellForColumnAndRow(unsigned column, unsigned row)
return tableCellChild;
}
}
-
return 0;
}
@@ -592,4 +591,12 @@ String AXTable::deprecatedTitle(TextUnderElementMode mode) const
return title;
}
+DEFINE_TRACE(AXTable)
+{
+ AXLayoutObject::trace(visitor);
+ visitor->trace(m_rows);
+ visitor->trace(m_columns);
+ visitor->trace(m_headerContainer);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698