summaryrefslogtreecommitdiffstats
path: root/dom/performance/PerformanceMainThread.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:26:49 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:26:49 +0200
commit85a83305dd0caeb484687cf511f81024a683338b (patch)
treee6c10fb27a6d102b15d10dca41023f0ec2af1b0f /dom/performance/PerformanceMainThread.cpp
parent30cf4c5d9356ddb7d474107af66a83826d403922 (diff)
downloadUXP-85a83305dd0caeb484687cf511f81024a683338b.tar
UXP-85a83305dd0caeb484687cf511f81024a683338b.tar.gz
UXP-85a83305dd0caeb484687cf511f81024a683338b.tar.lz
UXP-85a83305dd0caeb484687cf511f81024a683338b.tar.xz
UXP-85a83305dd0caeb484687cf511f81024a683338b.zip
Bug 1322292 - Some fixes for the Performance API in workers - part 1 - Centralized Performance.now()
https://hg.mozilla.org/mozilla-central/rev/291a68ca4825
Diffstat (limited to 'dom/performance/PerformanceMainThread.cpp')
-rw-r--r--dom/performance/PerformanceMainThread.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/dom/performance/PerformanceMainThread.cpp b/dom/performance/PerformanceMainThread.cpp
index d67c0c906..5eac15afd 100644
--- a/dom/performance/PerformanceMainThread.cpp
+++ b/dom/performance/PerformanceMainThread.cpp
@@ -105,12 +105,6 @@ PerformanceMainThread::Navigation()
return mNavigation;
}
-DOMHighResTimeStamp
-PerformanceMainThread::Now() const
-{
- return RoundTime(GetDOMTiming()->TimeStampToDOMHighRes(TimeStamp::Now()));
-}
-
/**
* An entry should be added only after the resource is loaded.
* This method is not thread safe and can only be called on the main thread.