summaryrefslogtreecommitdiff
path: root/startupcache
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-29 11:02:27 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-02 14:39:54 +0200
commitee86d3eb9c468edbb81550d27114ed66b3d71ee5 (patch)
treea00ffa052ffb8d072203938f595548dcd3b2e0ed /startupcache
parentd0acadd727468ccaa4e3cbe3673e29890c2551ca (diff)
downloaduxp-ee86d3eb9c468edbb81550d27114ed66b3d71ee5.tar.gz
Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and additional js module changes (next part).
Diffstat (limited to 'startupcache')
-rw-r--r--startupcache/StartupCache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/startupcache/StartupCache.cpp b/startupcache/StartupCache.cpp
index a2e6f0a988..9b99e6ac42 100644
--- a/startupcache/StartupCache.cpp
+++ b/startupcache/StartupCache.cpp
@@ -31,11 +31,12 @@
#include "nsZipArchive.h"
#include "mozilla/Omnijar.h"
#include "prenv.h"
-#include "mozilla/Telemetry.h"
#include "nsThreadUtils.h"
#include "nsXULAppAPI.h"
#include "nsIProtocolHandler.h"
+#include "GeckoProfiler.h"
+
#ifdef IS_BIG_ENDIAN
#define SC_ENDIAN "big"
#else
@@ -420,8 +421,7 @@ StartupCache::WriteToDisk()
// If we didn't have an mArchive member, that means that we failed to
// open the startup cache for reading. Therefore, we need to record
- // the time of creation in a zipfile comment; this will be useful for
- // Telemetry statistics.
+ // the time of creation in a zipfile comment.
PRTime now = PR_Now();
if (!mArchive) {
nsCString comment;