summaryrefslogtreecommitdiffstats
path: root/dom/performance
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 19:19:55 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-22 19:19:55 +0000
commit484e7e65a75d1fe4b4640a09243f5580538f0560 (patch)
tree2f25931ea904c9b83d5e63f86286cf62a9a9d3bf /dom/performance
parent54e4a32da5ed7cbe25901038678c3baf111eb1a2 (diff)
downloadUXP-484e7e65a75d1fe4b4640a09243f5580538f0560.tar
UXP-484e7e65a75d1fe4b4640a09243f5580538f0560.tar.gz
UXP-484e7e65a75d1fe4b4640a09243f5580538f0560.tar.lz
UXP-484e7e65a75d1fe4b4640a09243f5580538f0560.tar.xz
UXP-484e7e65a75d1fe4b4640a09243f5580538f0560.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',