Index: Source/core/timing/Performance.cpp |
diff --git a/Source/core/timing/Performance.cpp b/Source/core/timing/Performance.cpp |
index 323ce7f721163db34a59d074916806843d398ea7..6ba30c992b2768f84888e18fca1c2e3bddf3c2c3 100644 |
--- a/Source/core/timing/Performance.cpp |
+++ b/Source/core/timing/Performance.cpp |
@@ -99,11 +99,11 @@ PerformanceEntryVector Performance::getEntries() const |
{ |
PerformanceEntryVector entries; |
- entries.append(m_resourceTimingBuffer); |
+ entries.appendVector(m_resourceTimingBuffer); |
if (m_userTiming) { |
- entries.append(m_userTiming->getMarks()); |
- entries.append(m_userTiming->getMeasures()); |
+ entries.appendVector(m_userTiming->getMarks()); |
+ entries.appendVector(m_userTiming->getMeasures()); |
} |
std::sort(entries.begin(), entries.end(), PerformanceEntry::startTimeCompareLessThan); |
@@ -120,9 +120,9 @@ PerformanceEntryVector Performance::getEntriesByType(const String& entryType) |
if (m_userTiming) { |
if (equalIgnoringCase(entryType, "mark")) |
- entries.append(m_userTiming->getMarks()); |
+ entries.appendVector(m_userTiming->getMarks()); |
else if (equalIgnoringCase(entryType, "measure")) |
- entries.append(m_userTiming->getMeasures()); |
+ entries.appendVector(m_userTiming->getMeasures()); |
} |
std::sort(entries.begin(), entries.end(), PerformanceEntry::startTimeCompareLessThan); |
@@ -140,9 +140,9 @@ PerformanceEntryVector Performance::getEntriesByName(const String& name, const S |
if (m_userTiming) { |
if (entryType.isNull() || equalIgnoringCase(entryType, "mark")) |
- entries.append(m_userTiming->getMarks(name)); |
+ entries.appendVector(m_userTiming->getMarks(name)); |
if (entryType.isNull() || equalIgnoringCase(entryType, "measure")) |
- entries.append(m_userTiming->getMeasures(name)); |
+ entries.appendVector(m_userTiming->getMeasures(name)); |
} |
std::sort(entries.begin(), entries.end(), PerformanceEntry::startTimeCompareLessThan); |