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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase 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/core/timing/PerformanceUserTiming.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
index 7ef949d7af4a8d22b2053f78c40af3aef574dab0..fcf0013f3346d64afc591acb2bd352b11378e741 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
@@ -84,7 +84,7 @@ static void insertPerformanceEntry(PerformanceEntryMap& performanceEntryMap,
PerformanceEntry& entry) {
PerformanceEntryMap::iterator it = performanceEntryMap.find(entry.name());
if (it != performanceEntryMap.end()) {
- it->value.append(&entry);
+ it->value.push_back(&entry);
} else {
PerformanceEntryVector vector(1);
vector[0] = Member<PerformanceEntry>(entry);

Powered by Google App Engine
This is Rietveld 408576698