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

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

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. Created 6 years, 7 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/bindings/v8/custom/V8WindowCustom.cpp ('k') | Source/core/dom/ChildListMutationScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXTable.cpp
diff --git a/Source/core/accessibility/AXTable.cpp b/Source/core/accessibility/AXTable.cpp
index 0d7f53f97d67fb92b1a02e008b5877aab0b23e04..efec030faca837df0229d5fd03774802d096ede6 100644
--- a/Source/core/accessibility/AXTable.cpp
+++ b/Source/core/accessibility/AXTable.cpp
@@ -130,21 +130,21 @@ bool AXTable::isDataTable() const
if (elementHasAriaRole(tableElement->tFoot()))
return false;
- RefPtr<HTMLCollection> bodies = tableElement->tBodies();
+ RefPtrWillBeRawPtr<HTMLCollection> bodies = tableElement->tBodies();
for (unsigned bodyIndex = 0; bodyIndex < bodies->length(); ++bodyIndex) {
Element* bodyElement = bodies->item(bodyIndex);
if (elementHasAriaRole(bodyElement))
return false;
}
- RefPtr<HTMLCollection> rows = tableElement->rows();
+ RefPtrWillBeRawPtr<HTMLCollection> rows = tableElement->rows();
for (unsigned rowIndex = 0; rowIndex < rows->length(); ++rowIndex) {
Element* rowElement = rows->item(rowIndex);
if (elementHasAriaRole(rowElement))
return false;
if (rowElement->hasTagName(trTag)) {
HTMLTableRowElement* row = static_cast<HTMLTableRowElement*>(rowElement);
- RefPtr<HTMLCollection> cells = row->cells();
+ RefPtrWillBeRawPtr<HTMLCollection> cells = row->cells();
for (unsigned cellIndex = 0; cellIndex < cells->length(); ++cellIndex) {
if (elementHasAriaRole(cells->item(cellIndex)))
return false;
« no previous file with comments | « Source/bindings/v8/custom/V8WindowCustom.cpp ('k') | Source/core/dom/ChildListMutationScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698