Bug 1363475 - Fix TaskTracer build failure. r?njn
MozReview-Commit-ID: 7ENK05KNcGn
--- a/tools/profiler/core/platform.cpp
+++ b/tools/profiler/core/platform.cpp
@@ -2411,17 +2411,17 @@ locked_profiler_start(PSLockRef aLock, i
}
// Dead ThreadInfos are deleted in profiler_stop(), and dead ThreadInfos
// aren't saved when the profiler is inactive. Therefore the dead threads
// vector should be empty here.
MOZ_RELEASE_ASSERT(CorePS::DeadThreads(aLock).empty());
#ifdef MOZ_TASK_TRACER
- if (featureTaskTracer) {
+ if (ActivePS::FeatureTaskTracer(aLock)) {
mozilla::tasktracer::StartLogging();
}
#endif
#if defined(PROFILE_JAVA)
if (ActivePS::FeatureJava(aLock)) {
int javaInterval = interval;
// Java sampling doesn't accurately keep up with 1ms sampling.