summaryrefslogtreecommitdiffstats
path: root/dom/performance
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 19:19:55 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-26 10:19:11 +0200
commit4a8c186eea0b25416ce3e47719658a42df9fddcf (patch)
treef10f9ee7c69249d495a2be91b296c08e5cce1e21 /dom/performance
parent8ff6e8c8a2200db8307c158ce65d16e29abd3418 (diff)
downloadUXP-4a8c186eea0b25416ce3e47719658a42df9fddcf.tar
UXP-4a8c186eea0b25416ce3e47719658a42df9fddcf.tar.gz
UXP-4a8c186eea0b25416ce3e47719658a42df9fddcf.tar.lz
UXP-4a8c186eea0b25416ce3e47719658a42df9fddcf.tar.xz
UXP-4a8c186eea0b25416ce3e47719658a42df9fddcf.zip
Issue #80 - De-unify dom/performance
Diffstat (limited to 'dom/performance')
-rw-r--r--dom/performance/PerformanceMainThread.cpp5
-rw-r--r--dom/performance/PerformanceService.cpp1
-rwxr-xr-xdom/performance/PerformanceTiming.cpp1
-rw-r--r--dom/performance/moz.build2
4 files changed, 8 insertions, 1 deletions
diff --git a/dom/performance/PerformanceMainThread.cpp b/dom/performance/PerformanceMainThread.cpp
index b95a91ea6..60eccf595 100644
--- a/dom/performance/PerformanceMainThread.cpp
+++ b/dom/performance/PerformanceMainThread.cpp
@@ -6,7 +6,12 @@
#include "PerformanceMainThread.h"
#include "PerformanceNavigation.h"
+#include "PerformanceNavigationTiming.h"
+#include "PerformanceResourceTiming.h"
+#include "PerformanceTiming.h"
#include "nsICacheInfoChannel.h"
+#include "nsITimedChannel.h"
+#include "mozilla/dom/Event.h"
namespace mozilla {
namespace dom {
diff --git a/dom/performance/PerformanceService.cpp b/dom/performance/PerformanceService.cpp
index cf119af89..21d1aaa26 100644
--- a/dom/performance/PerformanceService.cpp
+++ b/dom/performance/PerformanceService.cpp
@@ -9,6 +9,7 @@
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/StaticMutex.h"
#include "mozilla/StaticPtr.h"
+#include "prtime.h"
namespace mozilla {
namespace dom {
diff --git a/dom/performance/PerformanceTiming.cpp b/dom/performance/PerformanceTiming.cpp
index 887a23938..f1d75ca03 100755
--- a/dom/performance/PerformanceTiming.cpp
+++ b/dom/performance/PerformanceTiming.cpp
@@ -6,6 +6,7 @@
#include "PerformanceTiming.h"
#include "mozilla/dom/PerformanceTimingBinding.h"
+#include "nsITimedChannel.h"
namespace mozilla {
namespace dom {
diff --git a/dom/performance/moz.build b/dom/performance/moz.build
index e1f96fec8..454f8f544 100644
--- a/dom/performance/moz.build
+++ b/dom/performance/moz.build
@@ -18,7 +18,7 @@ EXPORTS.mozilla.dom += [
'PerformanceTiming.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'Performance.cpp',
'PerformanceEntry.cpp',
'PerformanceMainThread.cpp',