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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.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/PerformanceObserverEntryList.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.cpp b/third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.cpp
index d84771ebf8c5f43846e88de0db940aeb8a72ba9c..ccfe66f79d16272dba022ffdbf1c6e84eac314e2 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.cpp
@@ -37,7 +37,7 @@ PerformanceEntryVector PerformanceObserverEntryList::getEntriesByType(
for (const auto& entry : m_performanceEntries) {
if (entry->entryTypeEnum() == type) {
- entries.append(entry);
+ entries.push_back(entry);
}
}
@@ -59,7 +59,7 @@ PerformanceEntryVector PerformanceObserverEntryList::getEntriesByName(
for (const auto& entry : m_performanceEntries) {
if (entry->name() == name &&
(entryType.isNull() || type == entry->entryTypeEnum())) {
- entries.append(entry);
+ entries.push_back(entry);
}
}

Powered by Google App Engine
This is Rietveld 408576698