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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.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/IDBTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
index 7efb5056a6ec0411888cf7f1faa27a85436c41f2..9ed76a23b4bb0b7a8fa9fc8d7fdd5b0f32238722 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp
@@ -239,7 +239,7 @@ void IDBTransaction::objectStoreDeleted(const int64_t objectStoreId,
m_database->metadata().objectStores.get(objectStoreId);
DCHECK(metadata.get());
DCHECK_EQ(metadata->name, name);
- m_deletedObjectStores.append(std::move(metadata));
+ m_deletedObjectStores.push_back(std::move(metadata));
} else {
IDBObjectStore* objectStore = it->value;
m_objectStoreMap.remove(name);
@@ -306,7 +306,7 @@ void IDBTransaction::indexDeleted(IDBIndex* index) {
return;
}
- m_deletedIndexes.append(index);
+ m_deletedIndexes.push_back(index);
}
void IDBTransaction::setActive(bool active) {
@@ -468,8 +468,8 @@ DispatchEventResult IDBTransaction::dispatchEventInternal(Event* event) {
m_state = Finished;
HeapVector<Member<EventTarget>> targets;
- targets.append(this);
- targets.append(db());
+ targets.push_back(this);
+ targets.push_back(db());
// FIXME: When we allow custom event dispatching, this will probably need to
// change.
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698