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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.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/IDBDatabase.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
index da44d0a7d36c95f841dbe5eb658caf3c8f34d096..39af221f48bb2dbf0ee6d95e77d95d65ba04b5e6 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
@@ -387,7 +387,7 @@ IDBTransaction* IDBDatabase::transaction(
NotFoundError, "One of the specified object stores was not found.");
return nullptr;
}
- objectStoreIds.append(objectStoreId);
+ objectStoreIds.push_back(objectStoreId);
}
WebIDBTransactionMode mode = IDBTransaction::stringToMode(modeString);
@@ -476,7 +476,7 @@ void IDBDatabase::enqueueEvent(Event* event) {
EventQueue* eventQueue = getExecutionContext()->getEventQueue();
event->setTarget(this);
eventQueue->enqueueEvent(event);
- m_enqueuedEvents.append(event);
+ m_enqueuedEvents.push_back(event);
}
DispatchEventResult IDBDatabase::dispatchEventInternal(Event* event) {
« no previous file with comments | « third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBKey.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698