From 4a8c186eea0b25416ce3e47719658a42df9fddcf Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 22 Apr 2020 19:19:55 +0000 Subject: Issue #80 - De-unify dom/performance --- dom/performance/PerformanceMainThread.cpp | 5 +++++ dom/performance/PerformanceService.cpp | 1 + dom/performance/PerformanceTiming.cpp | 1 + dom/performance/moz.build | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) (limited to 'dom/performance') 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', -- cgit v1.2.3