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; |