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

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
Index: Source/modules/accessibility/AXTable.cpp
diff --git a/Source/modules/accessibility/AXTable.cpp b/Source/modules/accessibility/AXTable.cpp
index bbad9ccab57f3c9374d9d11a8cafefc5847dd080..a4513676b6256ad752b13d8a75fd4d177debcd80 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;
}
}
-
tkent 2015/06/25 00:20:47 unnecessary change
return 0;
}
@@ -592,4 +591,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

Powered by Google App Engine
This is Rietveld 408576698