summaryrefslogtreecommitdiffstats
path: root/dom/performance/Performance.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:07:20 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:07:20 +0200
commit7ee501103ad2efe1d28ef3c10b4111a685746c06 (patch)
tree11a8b24d352d2a457b6c3a060c2c3d338391093c /dom/performance/Performance.cpp
parentde9560af3e0e0d0dc93c5401c9b6ca2f0a173e36 (diff)
downloadUXP-7ee501103ad2efe1d28ef3c10b4111a685746c06.tar
UXP-7ee501103ad2efe1d28ef3c10b4111a685746c06.tar.gz
UXP-7ee501103ad2efe1d28ef3c10b4111a685746c06.tar.lz
UXP-7ee501103ad2efe1d28ef3c10b4111a685746c06.tar.xz
UXP-7ee501103ad2efe1d28ef3c10b4111a685746c06.zip
Bug 1322966 - Cleanup performance.cpp
https://hg.mozilla.org/mozilla-central/rev/0ad76084c4c3
Diffstat (limited to 'dom/performance/Performance.cpp')
-rwxr-xr-xdom/performance/Performance.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/dom/performance/Performance.cpp b/dom/performance/Performance.cpp
index 497bdea27..074bffe8a 100755
--- a/dom/performance/Performance.cpp
+++ b/dom/performance/Performance.cpp
@@ -82,14 +82,12 @@ NS_IMPL_RELEASE_INHERITED(Performance, DOMEventTargetHelper)
/* static */ already_AddRefed<Performance>
Performance::CreateForMainThread(nsPIDOMWindowInner* aWindow,
nsDOMNavigationTiming* aDOMTiming,
- nsITimedChannel* aChannel,
- Performance* aParentPerformance)
+ nsITimedChannel* aChannel)
{
MOZ_ASSERT(NS_IsMainThread());
RefPtr<Performance> performance =
- new PerformanceMainThread(aWindow, aDOMTiming, aChannel,
- aParentPerformance);
+ new PerformanceMainThread(aWindow, aDOMTiming, aChannel);
return performance.forget();
}