From c0e1a9dba7bab56cd2878189cff738655a5a0021 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 13 Feb 2017 16:34:58 +1100 Subject: [PATCH] Bug 1337189 (follow-up) - Fix MOZ_TASK_TRACER bustage. r=schien. --HG-- extra : rebase_source : 6456da27632602250bde5bb96623d79ad180964d --- tools/profiler/core/platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/profiler/core/platform.cpp b/tools/profiler/core/platform.cpp index afffefe31de0..3ca0b79027a0 100644 --- a/tools/profiler/core/platform.cpp +++ b/tools/profiler/core/platform.cpp @@ -2050,7 +2050,7 @@ profiler_start(int aProfileEntries, double aInterval, } #ifdef MOZ_TASK_TRACER - if (mTaskTracer) { + if (gTaskTracer) { mozilla::tasktracer::StartLogging(); } #endif @@ -2211,7 +2211,7 @@ profiler_stop() } #ifdef MOZ_TASK_TRACER - if (mTaskTracer) { + if (gTaskTracer) { mozilla::tasktracer::StopLogging(); } #endif