summaryrefslogtreecommitdiff
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
parent8ff6e8c8a2200db8307c158ce65d16e29abd3418 (diff)
downloaduxp-4a8c186eea0b25416ce3e47719658a42df9fddcf.tar.gz
Issue #80 - De-unify 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 b95a91ea67..60eccf5955 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 cf119af898..21d1aaa261 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 887a23938c..f1d75ca034 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 e1f96fec84..454f8f5443 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',