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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBRequest.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/indexeddb/IDBRequest.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
index d1e768d558399f13744925205695ed1683e1de41..841997287eeebb8403e6b86dfa5706c00200680d 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp
@@ -431,14 +431,14 @@ DispatchEventResult IDBRequest::dispatchEventInternal(Event* event) {
dequeueEvent(event);
HeapVector<Member<EventTarget>> targets;
- targets.append(this);
+ targets.push_back(this);
if (m_transaction && !m_preventPropagation) {
- targets.append(m_transaction);
+ targets.push_back(m_transaction);
// If there ever are events that are associated with a database but
// that do not have a transaction, then this will not work and we need
// this object to actually hold a reference to the database (to ensure
// it stays alive).
- targets.append(m_transaction->db());
+ targets.push_back(m_transaction->db());
}
// Cursor properties should not be updated until the success event is being
@@ -546,7 +546,7 @@ void IDBRequest::enqueueEvent(Event* event) {
// in which case these must be cancelled. If the events not dispatched for
// other reasons they must be removed from this list via dequeueEvent().
if (eventQueue->enqueueEvent(event))
- m_enqueuedEvents.append(event);
+ m_enqueuedEvents.push_back(event);
}
void IDBRequest::dequeueEvent(Event* event) {

Powered by Google App Engine
This is Rietveld 408576698