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

Unified Diff: third_party/WebKit/Source/web/WebIDBKey.cpp

Issue 2612903007: Migrate WTF::Vector::append() to ::push_back() [part 15 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/web/WebIDBKey.cpp
diff --git a/third_party/WebKit/Source/web/WebIDBKey.cpp b/third_party/WebKit/Source/web/WebIDBKey.cpp
index fea52f07dc81d8b06ce6904fd6d1385b7f1003e8..187ee5d219359e654d34ddd52e1c26eb14e11ee4 100644
--- a/third_party/WebKit/Source/web/WebIDBKey.cpp
+++ b/third_party/WebKit/Source/web/WebIDBKey.cpp
@@ -87,22 +87,22 @@ static IDBKey* convertFromWebIDBKeyArray(const WebVector<WebIDBKey>& array) {
for (size_t i = 0; i < array.size(); ++i) {
switch (array[i].keyType()) {
case WebIDBKeyTypeArray:
- keys.append(convertFromWebIDBKeyArray(array[i].array()));
+ keys.push_back(convertFromWebIDBKeyArray(array[i].array()));
break;
case WebIDBKeyTypeBinary:
- keys.append(IDBKey::createBinary(array[i].binary()));
+ keys.push_back(IDBKey::createBinary(array[i].binary()));
break;
case WebIDBKeyTypeString:
- keys.append(IDBKey::createString(array[i].string()));
+ keys.push_back(IDBKey::createString(array[i].string()));
break;
case WebIDBKeyTypeDate:
- keys.append(IDBKey::createDate(array[i].date()));
+ keys.push_back(IDBKey::createDate(array[i].date()));
break;
case WebIDBKeyTypeNumber:
- keys.append(IDBKey::createNumber(array[i].number()));
+ keys.push_back(IDBKey::createNumber(array[i].number()));
break;
case WebIDBKeyTypeInvalid:
- keys.append(IDBKey::createInvalid());
+ keys.push_back(IDBKey::createInvalid());
break;
case WebIDBKeyTypeNull:
case WebIDBKeyTypeMin:
« no previous file with comments | « third_party/WebKit/Source/web/WebHistoryItem.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698