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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
index d3fde922a3ecfe4bef9e5e62ea127077d88b31c9..6de9215e570e6b09282ed938542ea425390b6779 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
@@ -686,7 +686,7 @@ void AXObjectCacheImpl::postNotification(AXObject* object,
if (!object)
return;
- m_notificationsToPost.append(std::make_pair(object, notification));
+ m_notificationsToPost.push_back(std::make_pair(object, notification));
if (!m_notificationPostTimer.isActive())
m_notificationPostTimer.startOneShot(0, BLINK_FROM_HERE);
}
@@ -778,8 +778,8 @@ void AXObjectCacheImpl::updateAriaOwns(
if (foundCycle)
continue;
- newChildAXIDs.append(child->axObjectID());
- ownedChildren.append(child);
+ newChildAXIDs.push_back(child->axObjectID());
+ ownedChildren.push_back(child);
}
// Compare this to the current list of owned children, and exit early if there

Powered by Google App Engine
This is Rietveld 408576698