From 6571d2ceb42930dab01677ef0e95e732d5076fb8 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sat, 12 May 2018 16:19:33 +0200 Subject: Remove MOZ_WIDGET_GONK [1/2] Tag #288 --- tools/profiler/core/platform.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tools/profiler/core/platform.h') diff --git a/tools/profiler/core/platform.h b/tools/profiler/core/platform.h index 2e736d97c..17c8dd25c 100644 --- a/tools/profiler/core/platform.h +++ b/tools/profiler/core/platform.h @@ -393,10 +393,7 @@ class Sampler { static mozilla::UniquePtr sRegisteredThreadsMutex; static bool CanNotifyObservers() { -#ifdef MOZ_WIDGET_GONK - // We use profile.sh on b2g to manually select threads and options per process. - return false; -#elif defined(SPS_OS_android) && !defined(MOZ_WIDGET_GONK) +#if defined(SPS_OS_android) // Android ANR reporter uses the profiler off the main thread return NS_IsMainThread(); #else -- cgit v1.2.3