summaryrefslogtreecommitdiffstats
path: root/dom/console/Console.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:32:19 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:32:19 +0200
commit089a0bd9a4dace03e5800878055b86854eee5002 (patch)
tree397cdb4e36128e6d80e71db3cb18588b1147aab8 /dom/console/Console.cpp
parent85a83305dd0caeb484687cf511f81024a683338b (diff)
downloadUXP-089a0bd9a4dace03e5800878055b86854eee5002.tar
UXP-089a0bd9a4dace03e5800878055b86854eee5002.tar.gz
UXP-089a0bd9a4dace03e5800878055b86854eee5002.tar.lz
UXP-089a0bd9a4dace03e5800878055b86854eee5002.tar.xz
UXP-089a0bd9a4dace03e5800878055b86854eee5002.zip
Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp()
https://hg.mozilla.org/mozilla-central/rev/301231f4165a
Diffstat (limited to 'dom/console/Console.cpp')
-rwxr-xr-xdom/console/Console.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/console/Console.cpp b/dom/console/Console.cpp
index 79e3eadc5..1ecf1f7fd 100755
--- a/dom/console/Console.cpp
+++ b/dom/console/Console.cpp
@@ -1337,7 +1337,7 @@ Console::MethodInternal(JSContext* aCx, MethodName aMethodName,
MOZ_ASSERT(workerPrivate);
TimeDuration duration =
- mozilla::TimeStamp::Now() - workerPrivate->NowBaseTimeStamp();
+ mozilla::TimeStamp::Now() - workerPrivate->CreationTimeStamp();
monotonicTimer = TimerClamping::ReduceMsTimeValue(duration.ToMilliseconds());
}