зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 72752c43d243 (bug 1755450) for causing build bustages on ProfilerThreadRegistration.cpp CLOSED TREE
This commit is contained in:
Родитель
d448ec068a
Коммит
ae4781ebff
|
@ -9,12 +9,7 @@
|
|||
#include "mozilla/ProfilerMarkers.h"
|
||||
#include "mozilla/ProfilerThreadRegistry.h"
|
||||
#include "nsString.h"
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
# include "platform.h"
|
||||
#else MOZ_GECKO_PROFILER
|
||||
# define profiler_mark_thread_awake()
|
||||
# define profiler_mark_thread_asleep()
|
||||
#endif
|
||||
#include "platform.h"
|
||||
|
||||
namespace mozilla::profiler {
|
||||
|
||||
|
|
|
@ -108,10 +108,6 @@ static inline void profiler_unregister_page(uint64_t aRegisteredInnerWindowID) {
|
|||
static inline void GetProfilerEnvVarsForChildProcess(
|
||||
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
|
||||
|
||||
# include "js/ProfilingStack.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче