summaryrefslogtreecommitdiff
path: root/toolkit/xre/nsEmbedFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/xre/nsEmbedFunctions.cpp')
-rw-r--r--toolkit/xre/nsEmbedFunctions.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/toolkit/xre/nsEmbedFunctions.cpp b/toolkit/xre/nsEmbedFunctions.cpp
index dbcd678a83..841ea2a2d0 100644
--- a/toolkit/xre/nsEmbedFunctions.cpp
+++ b/toolkit/xre/nsEmbedFunctions.cpp
@@ -69,8 +69,6 @@
#include "GeckoProfiler.h"
-#include "mozilla/Telemetry.h"
-
#ifdef MOZ_IPDL_TESTS
#include "mozilla/_ipdltest/IPDLUnitTests.h"
#include "mozilla/_ipdltest/IPDLUnitTestProcessChild.h"
@@ -274,14 +272,6 @@ XRE_InitChildProcess(int aArgc,
// NB: This must be called before profiler_init
ScopedLogging logger;
- // This is needed by Telemetry to initialize histogram collection.
- // NB: This must be called after NS_LogInit().
- // NS_LogInit must be called before Telemetry::CreateStatisticsRecorder
- // so as to avoid many log messages of the form
- // WARNING: XPCOM objects created/destroyed from static ctor/dtor: [..]
- // See bug 1279614.
- Telemetry::CreateStatisticsRecorder();
-
mozilla::LogModule::Init();
char aLocal;
@@ -469,7 +459,6 @@ XRE_InitChildProcess(int aArgc,
}
}
- Telemetry::DestroyStatisticsRecorder();
return XRE_DeinitCommandLine();
}