diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 12:32:19 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 12:32:19 +0200 |
commit | 089a0bd9a4dace03e5800878055b86854eee5002 (patch) | |
tree | 397cdb4e36128e6d80e71db3cb18588b1147aab8 /dom/performance | |
parent | 85a83305dd0caeb484687cf511f81024a683338b (diff) | |
download | UXP-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/performance')
-rw-r--r-- | dom/performance/PerformanceMainThread.cpp | 2 | ||||
-rw-r--r-- | dom/performance/PerformanceWorker.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dom/performance/PerformanceMainThread.cpp b/dom/performance/PerformanceMainThread.cpp index 5eac15afd..5c259cfb8 100644 --- a/dom/performance/PerformanceMainThread.cpp +++ b/dom/performance/PerformanceMainThread.cpp @@ -75,7 +75,7 @@ PerformanceTiming* PerformanceMainThread::Timing() { if (!mTiming) { - // For navigation timing, the third argument (an nsIHtttpChannel) is null + // For navigation timing, the third argument (an nsIHttpChannel) is null // since the cross-domain redirect were already checked. The last argument // (zero time) for performance.timing is the navigation start value. mTiming = new PerformanceTiming(this, mChannel, nullptr, diff --git a/dom/performance/PerformanceWorker.cpp b/dom/performance/PerformanceWorker.cpp index 17820d434..f10c58446 100644 --- a/dom/performance/PerformanceWorker.cpp +++ b/dom/performance/PerformanceWorker.cpp @@ -41,13 +41,13 @@ PerformanceWorker::InsertUserEntry(PerformanceEntry* aEntry) TimeStamp PerformanceWorker::CreationTimeStamp() const { - return mWorkerPrivate->NowBaseTimeStamp(); + return mWorkerPrivate->CreationTimeStamp(); } DOMHighResTimeStamp PerformanceWorker::CreationTime() const { - return mWorkerPrivate->NowBaseTime(); + return mWorkerPrivate->CreationTime(); } } // dom namespace |