diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-22 04:25:34 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-22 04:25:34 +0200 |
commit | bdb4ff581677ad1cd411b55a68c87534f9a64882 (patch) | |
tree | 8b171b21ee5b3e44bdc6a945a0a16ff96ed056ac /dom/performance/Performance.cpp | |
parent | 0a744b1cfeecdd2487d9166792ac5234edc9ee6a (diff) | |
download | UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.gz UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.lz UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.tar.xz UXP-bdb4ff581677ad1cd411b55a68c87534f9a64882.zip |
moebius#157: The Performance Observer (improvements)
https://github.com/MoonchildProductions/moebius/pull/157
Diffstat (limited to 'dom/performance/Performance.cpp')
-rwxr-xr-x | dom/performance/Performance.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/dom/performance/Performance.cpp b/dom/performance/Performance.cpp index 8dc239b05..497bdea27 100755 --- a/dom/performance/Performance.cpp +++ b/dom/performance/Performance.cpp @@ -38,27 +38,6 @@ using namespace workers; namespace { -// Helper classes -class MOZ_STACK_CLASS PerformanceEntryComparator final -{ -public: - bool Equals(const PerformanceEntry* aElem1, - const PerformanceEntry* aElem2) const - { - MOZ_ASSERT(aElem1 && aElem2, - "Trying to compare null performance entries"); - return aElem1->StartTime() == aElem2->StartTime(); - } - - bool LessThan(const PerformanceEntry* aElem1, - const PerformanceEntry* aElem2) const - { - MOZ_ASSERT(aElem1 && aElem2, - "Trying to compare null performance entries"); - return aElem1->StartTime() < aElem2->StartTime(); - } -}; - class PrefEnabledRunnable final : public WorkerCheckAPIExposureOnMainThreadRunnable { |