Backed out changeset 72752c43d243 (bug 1755450) for causing build bustages on ProfilerThreadRegistration.cpp CLOSED TREE

This commit is contained in:
Cristian Tuns 2022-02-17 11:48:11 -05:00
Родитель d448ec068a
Коммит ae4781ebff
2 изменённых файлов: 1 добавлений и 10 удалений

Просмотреть файл

@ -9,12 +9,7 @@
#include "mozilla/ProfilerMarkers.h" #include "mozilla/ProfilerMarkers.h"
#include "mozilla/ProfilerThreadRegistry.h" #include "mozilla/ProfilerThreadRegistry.h"
#include "nsString.h" #include "nsString.h"
#ifdef MOZ_GECKO_PROFILER #include "platform.h"
# include "platform.h"
#else MOZ_GECKO_PROFILER
# define profiler_mark_thread_awake()
# define profiler_mark_thread_asleep()
#endif
namespace mozilla::profiler { namespace mozilla::profiler {

Просмотреть файл

@ -108,10 +108,6 @@ static inline void profiler_unregister_page(uint64_t aRegisteredInnerWindowID) {
static inline void GetProfilerEnvVarsForChildProcess( static inline void GetProfilerEnvVarsForChildProcess(
std::function<void(const char* key, const char* value)>&& aSetEnv) {} std::function<void(const char* key, const char* value)>&& aSetEnv) {}
static inline void profiler_thread_sleep() {}
static inline void profiler_thread_wake() {}
#else // !MOZ_GECKO_PROFILER #else // !MOZ_GECKO_PROFILER
# include "js/ProfilingStack.h" # include "js/ProfilingStack.h"