diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-29 11:02:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-10-29 11:02:27 +0000 |
commit | cba6b06fc8bce52117abec9b3f3fc41475df69c2 (patch) | |
tree | 6d84ca82ac6c4b413ee7460f28d13eb2fb20f691 /dom/base/nsJSEnvironment.cpp | |
parent | 378c086ef4e05803e04be104e2cb488734c57715 (diff) | |
download | aura-central-cba6b06fc8bce52117abec9b3f3fc41475df69c2.tar.gz |
Issue %3029 - Part 1: 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 'dom/base/nsJSEnvironment.cpp')
-rw-r--r-- | dom/base/nsJSEnvironment.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 3b2a1cb19..15448181f 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -56,7 +56,6 @@ #include "mozilla/dom/ScriptSettings.h" #include "nsAXPCNativeCallContext.h" #include "mozilla/CycleCollectedJSContext.h" -#include "mozilla/Telemetry.h" #include "nsJSPrincipals.h" @@ -2007,7 +2006,7 @@ DOMGCSliceCallback(JSContext* aCx, JS::GCProgress aProgress, const JS::GCDescrip } if (!sShuttingDown) { - if (sPostGCEventsToObserver || Telemetry::CanRecordExtended()) { + if (sPostGCEventsToObserver) { nsString json; json.Adopt(aDesc.formatJSON(aCx, PR_Now())); RefPtr<NotifyGCEndRunnable> notify = new NotifyGCEndRunnable(json); |