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

Unified Diff: Source/modules/accessibility/AXARIAGrid.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/AXARIAGrid.cpp
diff --git a/Source/modules/accessibility/AXARIAGrid.cpp b/Source/modules/accessibility/AXARIAGrid.cpp
index 0d3349ac670a6ba9aded0d360c8b434d8106ede8..c87668f9054c1b3739cfbd59a15373dff076e09f 100644
--- a/Source/modules/accessibility/AXARIAGrid.cpp
+++ b/Source/modules/accessibility/AXARIAGrid.cpp
@@ -46,9 +46,9 @@ AXARIAGrid::~AXARIAGrid()
{
}
-PassRefPtr<AXARIAGrid> AXARIAGrid::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
+PassRefPtrWillBeRawPtr<AXARIAGrid> AXARIAGrid::create(LayoutObject* layoutObject, AXObjectCacheImpl* axObjectCache)
{
- return adoptRef(new AXARIAGrid(layoutObject, axObjectCache));
+ return adoptRefWillBeNoop(new AXARIAGrid(layoutObject, axObjectCache));
}
bool AXARIAGrid::addTableCellChild(AXObject* child, HashSet<AXObject*>& appendedRows, unsigned& columnCount)
@@ -97,7 +97,7 @@ void AXARIAGrid::addChildren()
// add only rows that are labeled as aria rows
HashSet<AXObject*> appendedRows;
unsigned columnCount = 0;
- for (RefPtr<AXObject> child = firstChild(); child; child = child->nextSibling()) {
+ for (RefPtrWillBeRawPtr<AXObject> child = firstChild(); child; child = child->nextSibling()) {
if (!addTableCellChild(child.get(), appendedRows, columnCount)) {

Powered by Google App Engine
This is Rietveld 408576698