| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | |
| 6 #include "core/timing/PerformanceObserverEntryList.h" | 5 #include "core/timing/PerformanceObserverEntryList.h" |
| 7 | 6 |
| 8 #include "core/timing/PerformanceEntry.h" | 7 #include "core/timing/PerformanceEntry.h" |
| 9 #include "wtf/StdLibExtras.h" | 8 #include "wtf/StdLibExtras.h" |
| 10 #include <algorithm> | 9 #include <algorithm> |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 PerformanceObserverEntryList::PerformanceObserverEntryList(const PerformanceEntr
yVector& entryVector) | 13 PerformanceObserverEntryList::PerformanceObserverEntryList(const PerformanceEntr
yVector& entryVector) |
| 15 : m_performanceEntries(entryVector) | 14 : m_performanceEntries(entryVector) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 std::sort(entries.begin(), entries.end(), PerformanceEntry::startTimeCompare
LessThan); | 65 std::sort(entries.begin(), entries.end(), PerformanceEntry::startTimeCompare
LessThan); |
| 67 return entries; | 66 return entries; |
| 68 } | 67 } |
| 69 | 68 |
| 70 DEFINE_TRACE(PerformanceObserverEntryList) | 69 DEFINE_TRACE(PerformanceObserverEntryList) |
| 71 { | 70 { |
| 72 visitor->trace(m_performanceEntries); | 71 visitor->trace(m_performanceEntries); |
| 73 } | 72 } |
| 74 | 73 |
| 75 } // namespace blink | 74 } // namespace blink |
| OLD | NEW |