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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBValue.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/IDBValue.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
index 6fa0d2bc91267c825ca1d809491915a7da89475f..279a4ebe86b419f919a3acae3110efeb2a65da8d 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBValue.cpp
@@ -28,7 +28,7 @@ IDBValue::IDBValue(PassRefPtr<SharedBuffer> data,
m_keyPath(keyPath) {
for (size_t i = 0; i < webBlobInfo.size(); ++i) {
const WebBlobInfo& info = (*m_blobInfo)[i] = webBlobInfo[i];
- m_blobData->append(
+ m_blobData->push_back(
BlobDataHandle::create(info.uuid(), info.type(), info.size()));
}
}
@@ -44,7 +44,7 @@ IDBValue::IDBValue(const IDBValue* value,
m_keyPath(keyPath) {
for (size_t i = 0; i < value->m_blobInfo->size(); ++i) {
const WebBlobInfo& info = (*m_blobInfo)[i] = value->m_blobInfo->at(i);
- m_blobData->append(
+ m_blobData->push_back(
BlobDataHandle::create(info.uuid(), info.type(), info.size()));
}
}
@@ -69,7 +69,7 @@ Vector<String> IDBValue::getUUIDs() const {
Vector<String> uuids;
uuids.reserveCapacity(m_blobInfo->size());
for (const auto& info : *m_blobInfo)
- uuids.append(info.uuid());
+ uuids.push_back(info.uuid());
return uuids;
}

Powered by Google App Engine
This is Rietveld 408576698