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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.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/InspectorIndexedDBAgent.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index f7548fd83ffe8ebf83bf48db8e8621591d313e0d..6fb23889f50cf6d835f053d1c6b8326cdf8bdf71 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -434,7 +434,7 @@ static IDBKey* idbKeyFromInspectorObject(protocol::IndexedDB::Key* key) {
IDBKey::KeyArray keyArray;
auto array = key->getArray(nullptr);
for (size_t i = 0; array && i < array->length(); ++i)
- keyArray.append(idbKeyFromInspectorObject(array->get(i)));
+ keyArray.push_back(idbKeyFromInspectorObject(array->get(i)));
idbKey = IDBKey::createArray(keyArray);
} else {
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698