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

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, 6 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 bbad9ccab57f3c9374d9d11a8cafefc5847dd080..91d1f73589db00d22f0fb84649d83c91aa37c917 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
@@ -592,4 +592,12 @@ String AXTable::deprecatedTitle(TextUnderElementMode mode) const
return title;
}
+DEFINE_TRACE(AXTable)
+{
+ visitor->trace(m_rows);
+ visitor->trace(m_columns);
+ visitor->trace(m_headerContainer);
+ AXLayoutObject::trace(visitor);
+}
+
} // namespace blink
« 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