summaryrefslogtreecommitdiff
path: root/xpcom/build
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2015-03-21 09:34:02 +0100
committerPale Moon <git-repo@palemoon.org>2015-03-21 09:34:02 +0100
commit00eba8adcdda96efcffcf76df476830cef8e2bc4 (patch)
tree7526ceb3098fa8098c02ec74eeb70e31c67c3ac1 /xpcom/build
parente3afb8ad07f0c4415ec1f3c71ca191a066a7449e (diff)
downloadpalemoon-gre-00eba8adcdda96efcffcf76df476830cef8e2bc4.tar.gz
Remove Telemetry part1: Autotimers, accumulator calls
Diffstat (limited to 'xpcom/build')
-rw-r--r--xpcom/build/mozPoisonWriteBase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xpcom/build/mozPoisonWriteBase.cpp b/xpcom/build/mozPoisonWriteBase.cpp
index 193938e05..c54645e2f 100644
--- a/xpcom/build/mozPoisonWriteBase.cpp
+++ b/xpcom/build/mozPoisonWriteBase.cpp
@@ -175,8 +175,7 @@ bool ValidWriteAssert(bool ok)
// We normally don't poison writes if gShutdownChecks is SCM_NOTHING, but
// write poisoning can get more users in the future (profiling for example),
// so make sure we behave correctly.
- if (gShutdownChecks == SCM_NOTHING || ok || !sProfileDirectory ||
- !Telemetry::CanRecord()) {
+ if (gShutdownChecks == SCM_NOTHING || ok || !sProfileDirectory) {
return ok;
}